Message 1 of 6
Can't get VBA to initialize automatically at startup

Not applicable
05-02-2001
04:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to set some preferences when AutoCAD 2000 is opened. I have written
a procedure that works when I invoke it directly. I have placed it in
acad.dvb in the acad root directory ACAD2000. The sub is named
acadStartup() and should run automatically when the application is started.
The problem is that VBA is NOT being initialized at startup - the project
file is loaded but the sub does not run. When I open
Tools/Macro/Macros..., VBA Manager, Load Project..., or press alt_F11
(anything that addresses the VBA facilities) VBA is initialized and the
startup macro runs properly.
While this is probably easily resolved, I cannot find an answer from on- and
off-line documentation. I've installed all the VBA components in the
installation process. I have the same problem on two PCs. Help.
Jim Christenson
a procedure that works when I invoke it directly. I have placed it in
acad.dvb in the acad root directory ACAD2000. The sub is named
acadStartup() and should run automatically when the application is started.
The problem is that VBA is NOT being initialized at startup - the project
file is loaded but the sub does not run. When I open
Tools/Macro/Macros..., VBA Manager, Load Project..., or press alt_F11
(anything that addresses the VBA facilities) VBA is initialized and the
startup macro runs properly.
While this is probably easily resolved, I cannot find an answer from on- and
off-line documentation. I've installed all the VBA components in the
installation process. I have the same problem on two PCs. Help.
Jim Christenson