hi
I want to use 2 Long args and 1 ParamArray in my function below...
When I run TEST(10, 20, 5, 3), the output is...
[pre]
0 1
5 3
[/pre]
Why isn't the TEST output...
[pre]
5 3
5 3 [/pre]
Thanks! Vicky
I want to use 2 Long args and 1 ParamArray in my function below...
Code:
Function TEST(X As Long, Y As Long, ParamArray Arr() As Variant)
Debug.Print LBound(Arr), UBound(Arr)
Debug.Print Arr(0), Arr(1)
End Function
When I run TEST(10, 20, 5, 3), the output is...
[pre]
0 1
5 3
[/pre]
Why isn't the TEST output...
[pre]
5 3
5 3 [/pre]
Thanks! Vicky