×
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

VBA Code to open form on top of 64bit SW

VBA Code to open form on top of 64bit SW

VBA Code to open form on top of 64bit SW

(OP)
Use this code with existing or new macro's to force a form to open on top and centered on your SolidWorks instance. Just rename UserForm to your existing Form name. You will have to make an instance/sub-routine for every UserForm that may be opened. Otherwise it may have issues pulling/saving information. It's pretty convoluted, but allows normal use for SolidWorks VBA macros in a 64bit operating system and program. There really isn't a better way to show VBA forms in 64bit SolidWorks without recoding everything to C++ and making your macro's an add-in.

See the attached link or below link to download.
http://sw.fcsuper.com/index.php?name=UpDownload&req=getit&lid=169

You're welcome to all the people who want to keep using their existing VBA macro's in 64bit SolidWorks without having to alt-tab to the form everytime you use your macro. =)

James Spisich
Design Engineer, CSWP

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