AnsweredAssumed Answered

Running my macro from the start-screen starts with wrong module/sub

Question asked by Robert Voogt on Aug 4, 2018
Latest reply on Aug 5, 2018 by Robert Voogt

Hi all,


When I run my macro from the Solidworks start screen (no models/documents open) it starts with a certain sub.

Only in 1 module I have a sub called "main" (which it should run first) but it doesn't. It starts with another sub in another module of the same macro.


(Making a macro button works obviously, but then I have to open a file or create a new one.)


I also cannot get the "run a macro from the desktop" to work either. I add "/m" and then the full path to the shortcut, but it just starts up Solidworks 2015 without doing anything. (Is there any way to force start a macro on startup of solidworks | MySolidWorks )