Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Oct 3, 2006
Messages
8
Location
US
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?
 
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

Back
Top