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.
htt p://sw.fcs uper.com/i ndex.php?n ame=UpDown load&r eq=getit&a mp;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. =)
See the attached link or below link to download.
htt
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






RE: VBA Code to open form on top of 64bit SW
Matt Lorono, CSWP
Lorono's SolidWorks Resources & SolidWorks Legion
Follow me on Twitter