View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Form Doesn't Disappear

Try running the macro after the code that shows the form

Userform1.Show
Macro1

not in the userform code

--

HTH

RP

"Stratuser" wrote in message
...
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.