Macro Troubleshooting
Macro Troubleshooting
(OP)
I downloaded a renaming macro (thanks, fcsuper!), that won't work on my machine. I get an error message telling me that I have a Compile error, Can't find project or library. Unfortunately, I'm a complete moron when it comes to VB...if anyone can shed some light on this, it would be greatly appreciated.
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog






RE: Macro Troubleshooting
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog
RE: Macro Troubleshooting
RE: Macro Troubleshooting
-handleman, CSWP (The new, easy test)
RE: Macro Troubleshooting
I found one instance of "Missing:" but I can't find any corresponding entries. If I deselect the missing one and rerun the macro, I get another error message that, to me, implies that the User Form is missing.
Also, if I shut down SW and restart, when I initially run the macro I get an Microsoft Forms error stating: 'Could not load object because it is not available on this machine.'
Thoughts?
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog
RE: Macro Troubleshooting
Rename.swp was built using a library reference to something called "Microsoft Masked Edit control 6.0". This or an older version does not appear in my reference library either. - Maybe it is from the Vista operating system. I'm still using XP. How about you?
Just my guess
Tobin Sparks
www.nov.com
RE: Macro Troubleshooting
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog
RE: Macro Troubleshooting
htt
seems to have it. I think it came with some version of VB. Not sure if the download is legal or not, but it seemed to work for me.
-handleman, CSWP (The new, easy test)
RE: Macro Troubleshooting
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog
RE: Macro Troubleshooting
Matt Lorono
CAD Engineer/ECN Analyst
Silicon Valley, CA
Lorono's SolidWorks Resources
Co-moderator of Solidworks Yahoo! Group
and Mechnical.Engineering Yahoo! Group
RE: Macro Troubleshooting
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog
RE: Macro Troubleshooting
1. Download the OCX file
2. Tools->References and brows to the OCX's location
3. Save the macro
4. Try to run the macro and get "can't find..." error
5. Re-download macro from Jeff's attachment and run it.
Not saying every step there was actually necessary, that's just how it unfolded on my end.
-handleman, CSWP (The new, easy test)
RE: Macro Troubleshooting
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog
RE: Macro Troubleshooting
The solution was in front of my face the whole time. Do a 'save-as' on the sub-assembly, select references, highlight the parts, select options, add prefix.
Is it Friday yet?
Jeff Mirisola, CSWP, Certified DriveWorks AE
http://designsmarter.typepad.com/jeffs_blog