Explains how to run VBA sample code that is part of the AutoCAD Help system.
- On the ribbon, click Manage tab Applications panel Visual Basic Editor.
- Copy the example code from the Help topic, and paste it into an empty VBA code module or the ThisDrawing class module.
- Verify that AutoCAD has a blank drawing open to model space.
- At the AutoCAD Command prompt, enter vbaman and press Enter.
- In the Macros dialog box, choose the macro and click Run.