Returning Multiples Values

Saj

Active Member
Licensed User
Is it possible to return more than a 2 or more values from a sub using the Return statement?
 

mjcoon

Well-Known Member
Licensed User
Is it possible to return more than a 2 or more values from a sub using the Return statement?

Not explicitly within the Return statement, but multiple values can be returned by putting them in "ByRef" parameters (arguments) to the Sub, about which the Help says:
It ["ByRef" parameters] can also be used to return multiple values from a Sub.

Mike.
 
Top