CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 5035 

CAD tip CAD tip # 1933:

Question CAD 
 %  platform  category 
Q - question

How to automatically record a VBA macro in AutoCAD (like in MS Office)?

A - answer

you can were able to download ARX application "VBA Macro recorder" (for AutoCAD 2000/2000i/2002), which records user's command sequence (AutoCAD commands) as a VBA macro - like in MS Office. You can then modify this macro or - without any programming experience - just use it immediately.

the above tip is no longer valid - CADbow is out of business now

You can also try the free VBA Macro Recorder by Joe Sutphin (see Load the macro recorder (DVB) with VBALOAD and then run the "Record" macro with VBARUN.

In AutoCAD 2009, 2010, 2011 (and higher) you can use the automatic Action Recorder functionality. Alas, it does not use the VBA format for storing the recorder macros.

100% *  CAD 
3.2.2002    55234×   FAQ  
Comments   Tell a friend
applies to: AutoCAD 2010 · AutoCAD 2009 · AutoCAD 2000 ·

See also:
Tip 11580:Excel: convert Unicode texts to \U+ codes for AutoCAD
Tip 10647:How to store macros inside DWG drawings?
Tip 10266:How to change the iProperty "Standard" for parts from Content Center?
Tip 9935:How to distinguish between an assembly and weldment in VBA or iLogic?
Tip 9788:How to import named workpoints from Excel to Inventor?

Back   All CAD Tips All CAD tips&tricks

Can I use HP DesignJet 500 under Solaris? « | » How to list Postscript fonts defined in HP DesignJet 5000PS?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.