VBALOAD (Command)

Loads a global VBA project into the current work session.

Find
Note: Microsoft® Visual Basic® for Applications software (VBA) is no longer installed. For more information, visit https://www.autodesk.com/vba-download.

The Open VBA Project dialog box (a standard file selection dialog box) is displayed.

VBA projects are stored in a separate file with a .dvb extension. Once loaded, the modules and macros of a VBA project are available in the Macros dialog box.

There is no limit to the number of Visual Basic for Applications (VBA) projects you can load. Any project referenced by the selected project will also be loaded, if available.

You cannot use this dialog box to load embedded VBA projects. Embedded projects are loaded when you open the drawing containing the project, and they are unloaded when you close the drawing.

If you select Open Visual Basic Editor, the Visual Basic Editor is opened after the selected project is loaded.

If FILEDIA is set to 0 (zero), or if you enter -vbaload at the Command prompt, VBALOAD displays command prompts.

The following prompts are displayed.

Open VBA project
Specifies the path and file name of the project to open.

If the selected project contains macros, the AutoCAD Macro Virus Protection dialog box is displayed.