×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Macro Userform Help...

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?

RE: Macro Userform Help...

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...
       "If you don't use your head,            
                   your going to have to use your feet."

RE: Macro Userform Help...

(OP)
Bingo!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources