auspider
Industrial
- Oct 3, 2006
- 8
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?