S
Sally
I don't understand how to return a value from a function. If I wanted to
return the value for X in testee to test, how can I fix this code?
Sub test()
Dim X As Integer
X = 1
testee (X)
MsgBox X
End Sub
Function testee(X)
X = 1 + 1
End Function
return the value for X in testee to test, how can I fix this code?
Sub test()
Dim X As Integer
X = 1
testee (X)
MsgBox X
End Sub
Function testee(X)
X = 1 + 1
End Function