Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
DDDavid Dewey05/03/2015
Trying to run the following but it is giving me difficulties and saying it cannot open this file. Should I be using some other call to get this to work? I'm simply trying to run two macros sequentially from a single macro.
Dim swApp As Object
Sub main()
Set swApp = Application.SldWorks
Application.SldWorks.RunMacro "<S:\_Templates\Macros\IMI APPROVED UPDATE DAVE - (1.3).swp>", "<APPROVED1>", "<Main>"
Application.SldWorks.RunMacro "<S:\_Templates\Macros\RELOAD ALL SHEET FORMATS (1.1).swp>", "<TEST_GERMAN1>", "<Main>"
End Sub