ByRef (Visual Basic)
Specifies that an argument is passed in such a way that the called procedure can change the value of a variable underlying the argument in the calling code.
Remarks
The ByRef modifier can be used in these contexts:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Specifies that an argument is passed in such a way that the called procedure can change the value of a variable underlying the argument in the calling code.
The ByRef modifier can be used in these contexts: