Guide
How to Install and Run a SOLIDWORKS VBA Macro
Import a .bas SOLIDWORKS VBA macro module, run it safely and test it on copied files first.
Install from .bas source
- Open SOLIDWORKS.
- Create a new macro with
Tools > Macro > New. - Open the VBA editor, right-click the project and import the downloaded
.basmodule. - Run
mainfrom the editor or fromTools > Macro > Run.
Safety checklist
- Run on copied files first.
- Keep backups before batch edits.
- Review generated files before sending them to vendors or production.