Argument Builder
Used to specify the arguments from Procedure
Builder.
Start this dialog from the Procedure Builder.
Controls:
Optional
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.
ByVal / ByRef
Choose the way of passing the value.
ByVal
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.
ByRef
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.
ParamArray
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
Name of the argument
Data Type
Type of the argument
Array
Check this if the argument is to be an array.
Default Value
Specify value to be used if argument is
optional and no value was specified during call.
OK
Adds the argument to the procedure and closes dialog.
OK & New
Adds argument to procedure without closing dialog. Enables you to add
several arguments fast.
Cancel
Closes dialog without adding an argument to the procedure.
Help
Starts this Help topic