There is no explicit SAVE command in AutoCAD for VBA projects. Instead, the SAVE command resides in the File menu of the VBA IDE and in the VBA Manager. Any changes to a VBA project will access a standard Save VBA Project dialog box when one of these events occurs:
- You select the SAVE command from the VBA IDE.
- You choose the Save As option in the VBA Manager.
- Your AutoCAD session is about to end or quit and the VBA project is not saved.
NoteBefore you save a project,
it is assigned the default file name project.dvb. It
is important that you assign a new name to your project file when
you save the project. If you save a project with the default file
name project.dvb, you will no longer
be able to create new empty projects. Each time you create a new project,
you will actually be loading the saved project called project.dvb.