J
Joe Delphi
Hi,
I want to implement a subroutine that calculates and returns 5 values,
but I don't know the syntax for passing data OUT of the subroutine.
I want to do something like this:
Private Sub Calc5Things(InputValue As Integer, Output1 As Currency,
Output2 As Integer, Output3 As Double, Output4 As Double, Output5 As Double)
...
but I don't know how to tell VBA that the last five parameters are
output parameters as opposed to input parameters.
How to do this?
JD
I want to implement a subroutine that calculates and returns 5 values,
but I don't know the syntax for passing data OUT of the subroutine.
I want to do something like this:
Private Sub Calc5Things(InputValue As Integer, Output1 As Currency,
Output2 As Integer, Output3 As Double, Output4 As Double, Output5 As Double)
...
but I don't know how to tell VBA that the last five parameters are
output parameters as opposed to input parameters.
How to do this?
JD