0
Dim arrS(1000, 6) As String

Sub FromHere()
'(I've already filled the array and just want to pass it from here):

 Call ToThere(someArray)
End Sub

Sub ToThere(someArray)
 MsgBox "And I want to use it:  " & someArray(2, 2)
End Sub

Everything I'm trying is redlining, won't make it out of the editor.

Can you show me how this should be declared/dimensioned at the top and within each statement so it'll just run?

1 Answer 1

5
Sub ToThere(someArray() as string)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.