Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run VBA Macro at startup

Status
Not open for further replies.

LumpoDelMagnifico

Electrical
Joined
Sep 22, 2004
Messages
35
Location
US
Can anyone tell me how to run a VBA macro every time I launch AutoCad? I have a Macro button that I want to add to the toolbar. I use a VBA sub called "AddToolbar" but the next time I Launch Acad the toolbar button is gone. So, what I want to do is set autucad to run "AddToolbar" everytime I launch acad.
 
You should ask this question in the AutoCAD forum. I can't say I have done this, but I can imagine that you may have to edit the .mnu files that set up the menu options. There is also a way to automatically load lisp files on start up, but that's not a macro. Ask in the other forum. They'll get you going.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top