
Add argument while declaring procedure interface.
Start from Procedure Builder.
Optional. Indicates that an argument is not required. If used, all subsequent arguments in arglist must also be optional and declared using the Optional keyword. Optional can't be used for any argument if ParamArray is used.
Choose the way of passing the value.
A way of passing the value of an argument to a procedure instead of passing the address. This allows the procedure to access a copy of the variable. As a result, the variable's actual value can't be changed by the procedure to which it is passed.
A way of passing the address of an argument to a procedure instead of passing the value. This allows the procedure to access the actual variable. As a result, the variable's actual value can be changed by the procedure to which it is passed. Unless otherwise specified, arguments are passed by reference.
Used only as the last argument in arglist to indicate that the final argument is an Optional array of Variant elements. The ParamArray keyword allows you to provide an arbitrary number of arguments. It may not be used with ByVal, ByRef, or Optional.
Name of the argument
Type of the argument
Check this if the argument is to be an array.
Specify value to be used if argument is optional and no value was specified during call.
Adds the argument to the procedure and closes dialog.
Adds argument to procedure without closing dialog. Enables you to add several arguments fast.
Closes dialog without adding an argument to the procedure.
Starts this Help topic