×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Adding inspection numbers to dimensions

Adding inspection numbers to dimensions

Adding inspection numbers to dimensions

(OP)
This topic was covered in the past and the posting has been closed, http://www.eng-tips.com/viewthread.cfm?qid=205851.  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.
 

RE: Adding inspection numbers to dimensions

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)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources