ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
RVRobert Voogt04/08/2018

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 )