SetReturnValue(ArgNo As Integer, Value As String)

Application object

Used when an event can return more than one value, or when the return value needs to be more than a simple "yes" or "no". Each event that responds to multiple return values is documented as such in this help file, along with a specification of what return values it expects. Multiple return values always start with an argument number ( ArgNo) of 0 (zero).

Related topics

The Application object