Visual Basic for Applications (VBA) is the engine that records, runs, or edits macros in SolidWorks. Recorded macros are saved as .swp VBA project files.
You can read and edit .swb and .swp (VBA) files with the VBA editor. When you edit an existing .swb file, the file automatically converts into a .swp file. You can export a module to a file that you can use in other VB projects.
You can use VBA to create forms and to provide more user interaction with your recorded macros. For more information on VBA, see the Help menu in the VBA editor.