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

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    59713×   FAQ  
Prices - CAD eShop:
applies to: AutoCAD 2010 · AutoCAD 2009 · AutoCAD 2000 ·

See also:
Tip 12520:How to set Inventor Display style and Lighting style from an iLogic macro?
Tip 12392:Export unfolds of sheetmetal parts to DXF - parameters for iLogic and VBA
Tip 12136:Security settings for Inventor data files and add-on applications.
Tip 11580:Excel: convert Unicode texts to \U+ codes for AutoCAD
Tip 10647:How to store macros inside DWG drawings?

Back   All CAD Tips All CAD tips&tricks

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   

Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2020 More info

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