Form Doesn't Disappear

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form with option buttons on it. In the code for one of the option
buttons, there are just two commands, set up like this:

Me.Hide
Macro1

Macro1 turns screen updating off and then does a lot of other things. But
the form doesn't disappear before Macro1 starts. Why is that? I don't want
to look at the form frozen on the screen while the macro is running. I want
it to disappear as soon as I pick the option.
 
Try running the macro after the code that shows the form

Userform1.Show
Macro1

not in the userform code
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top