All
I have used this macro for years and it just stopped working..... Can someone please have a look and fix it?
SW2016/2017
Regards
Todd Richards
All
I have used this macro for years and it just stopped working..... Can someone please have a look and fix it?
SW2016/2017
Regards
Todd Richards
Well, in one place, you are declaring swApp and swStatus as if you are using early binding, which what I would recommend. On the other hand, you are setting swApp as if you are using late binding. My guts tells you have some missing references. Add the SOLIDWORKS 20XX type library and SOLIDWORKS 20XX constant type library from Tools > References. You don't want go in the late binding route unless you are a robot that has memorized the entire api back to back .
Cheers,
Amen
Macro works fine for me as expected. Are you getting any issues or error message?