Macro Userform Help...
Macro Userform Help...
(OP)
I'm creating my first macro and am having a problem with my userform staying up while running macro. I think it may have something to do with where my code is located, but I'm not sure.
Basically, the macro creates tubing. The only thing the userform does is ask the user what plane to sketch on. From there it sketches the part asking for dimensional input as it goes, but this information is difficult to see because the userform stays up until macro is finished. Right now the code checks for an open part file (module folder), then goes to the userform (forms folder), gets user input and then creates extrusion. Is having the code for creating the extrusion in the userform whats causing my problem? If so, where do I put the code and how?
Basically, the macro creates tubing. The only thing the userform does is ask the user what plane to sketch on. From there it sketches the part asking for dimensional input as it goes, but this information is difficult to see because the userform stays up until macro is finished. Right now the code checks for an open part file (module folder), then goes to the userform (forms folder), gets user input and then creates extrusion. Is having the code for creating the extrusion in the userform whats causing my problem? If so, where do I put the code and how?






RE: Macro Userform Help...
If so, after the userform data entry is finished, how about ..
Userform.hide
as the first line of code behind the form............
Remember...
"If you don't use your head,
your going to have to use your feet."
RE: Macro Userform Help...