Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding inspection numbers to dimensions

Status
Not open for further replies.

GRF

Automotive
Apr 7, 2005
205
This topic was covered in the past and the posting has been closed, However, the macro posted by Handleman, a macro guru, will not work in SW2009. I have tried this on two computers and get the same results on both, Compile error: Can't find project or library, with Sub AddDimRefNems() highlighted yellow.

Since I know about as much about writing macros as I do about the dust on Pluto any help would be appreciated.
 
Replies continue below

Recommended for you

You may have to fix references to make it work after upgrading to 2009, but the code still works. Edit the macro and go to Tools->References in the VBA editor. Un-check any missing 2008 (or earlier) references and find their corresponding SW 2009 version.

Alternately, if you are pasting the code into a new macro, make sure it is a VBA macro and not a VSTA macro.

-handleman, CSWP (The new, easy test)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor