When you load
a project into AutoCAD, all the public subroutines, also called
macros, become available for use. Projects embedded in a drawing
are loaded whenever the drawing is opened. Projects stored in DVB
files must be loaded explicitly.
Anytime a
project is loaded, any other projects that are referenced by the
first project will be loaded automatically. Additionally, AutoCAD
will automatically load at startup any project file with the name
acad.dvb.
To load an
existing VBA project file
In the VBA Manager, use the Load option to bring up the Open
VBA Project dialog box.
In the Open VBA Project dialog box, select the project file to
open. The VBA Project dialog box will allow you to open only valid
DVB files. If you attempt to open a different type of file, you
will receive an error message.
Select Open.
You can also
load a project file using one of the following methods:
Enter the VBALOAD command, which opens the Open VBA Project
dialog box.
Drag a DVB file from Windows Explorer and drop it into an open
drawing in the AutoCAD window.