ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SPScott Perman11/03/2020

I'm just dipping my toes into the world of API/Macros.  There is an example on the solidworks web site that I think I can modify for my needs, but I cannot get it to run.  

Here is the link to the macro:

2019 SOLIDWORKS API Help - Change Active Tab in Manager Pane Example (VBA) 

I think I've followed the instructions properly, but when I try and run it I get a 

on this line:

Set swAssembly = swModel

Reading other threads, I may not have my references setup properly, but I'm not sure what I am missing.  

Any help would be appreciated.