P
Paul
Dear all,
I want to know how to declare an array return type in VBA function.
For example, if my VBA function returns Integer, it would be something
like this
Public Function MyFunction() As Integer
....
....
End Function
But how about array? e.g.
Public Function AnotherFunction()
Dim a(10) as Integer
...
...
AnotherFunction=a
End Function
How should I declare the return type??
Thanks.
Paul
I want to know how to declare an array return type in VBA function.
For example, if my VBA function returns Integer, it would be something
like this
Public Function MyFunction() As Integer
....
....
End Function
But how about array? e.g.
Public Function AnotherFunction()
Dim a(10) as Integer
...
...
AnotherFunction=a
End Function
How should I declare the return type??
Thanks.
Paul