Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro Userform Help...

Status
Not open for further replies.

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?
 
Replies continue below

Recommended for you

So the problem is that the userform is in the way?

If so, after the userform data entry is finished, how about ..

Userform.hide

as the first line of code behind the form............

Remember...
[navy]"If you don't use your head,[/navy] [idea]
[navy]your going to have to use your feet."[/navy]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor