User-Defined Variables

Top  Previous  Next

 VS   VB6   VB5   VBA 

User-defined variables are variables used in code templates, exception / error handlers and headers whose values are asked to the user when the code template is inserted into the code file through a dialog window (on the contrary to predefined-variables, whose values are assigned automatically):

UserDefinedVariablesValues

User-defined variables are created using the Insert > User-defined variable... button, which shows this dialog window, where you just enter the name of the user-defined variable (or reuse an existing one of the current template):

UserDefinedVariablesDefinition

See Also:

Predefined variables