Consider the procedure
Private Sub Adder(ByVal Num1 As Integer, etc. )
End Sub
which called by Call Adder( TxtNum1,.) where TxtNum1 is a text box.
Why does Num1 accept the value as an integer when the actual parameter being
passed is of type string? Why no type mismatch error??
Many thanks
Geoff
Private Sub Adder(ByVal Num1 As Integer, etc. )
End Sub
which called by Call Adder( TxtNum1,.) where TxtNum1 is a text box.
Why does Num1 accept the value as an integer when the actual parameter being
passed is of type string? Why no type mismatch error??
Many thanks
Geoff
Comment