If I want to pass a array variable to another function, like so:
Sub OrinigalProcedure
...etc
Variable = CalledProcedure(PassedVariable())
...etc
End Sub
Where:
Function CalledFunction(PassedVariable() as Variant)
...etc
...etc
CalledFunction = Array(Item1, Item2)
End Function
What is the correct syntax to refer to each item in the array passed back to the original procedure?
TIA,
Klopper
Sub OrinigalProcedure
...etc
Variable = CalledProcedure(PassedVariable())
...etc
End Sub
Where:
Function CalledFunction(PassedVariable() as Variant)
...etc
...etc
CalledFunction = Array(Item1, Item2)
End Function
What is the correct syntax to refer to each item in the array passed back to the original procedure?
TIA,
Klopper