Creating a new macro is different from recording a macro. When you create a new macro, you program the macro directly from a macro editing application such as Microsoft Visual Basic. When you record a macro, you create the macro from within the SOLIDWORKS software.
To create a new macro: