I am trying to pass a complete array to a subroutine, for example:
First Declare:
Dim MyArray() as string ' Dynamic array
Then if the subroutine is set ourt like this:
Public Sub MySub(SubArray() as string)
If i try and call it:
MySub(MyArray())
I get the error message that an array is expected.
Please help.
Thanks
First Declare:
Dim MyArray() as string ' Dynamic array
Then if the subroutine is set ourt like this:
Public Sub MySub(SubArray() as string)
If i try and call it:
MySub(MyArray())
I get the error message that an array is expected.
Please help.
Thanks