From Macros Wiki
- EXPORT_SOLIDWORKS <filename>, [<version>]
- Export a SolidWorks file.
- Filename as either text in double quotes, or a text variable.
- If the filename does not contain full path information, then the file will be opened in the same folder as the macro.
- 0 = latest version, (default)
- Set to 80, 90, 100, 114 etc, for version 8.0, 9.0, 10.0, 11.4, etc.
- EXPORT_SOLIDWORKS myFile$