Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've been working through the NG trying to perfect this, but to no
avail. I'm trying to show a "Please Wait" modeless form (UserForm2) as my workbook has numerous occurrences of a UDF that are all recalculated when a user form (UserForm1) is closed. Here's my code: Private Sub CommandButton3_Click() UserForm1.Hide 'since I cannot show a modeless form while a modal form is showing UserForm2.Show vbModeless Unload UserForm1 End Sub 'Code for UserForm2 Private Sub UserForm_Activate() UserForm2.Caption = "Please wait" Call Calculate Unload UserForm2 End Sub Private Sub Calculate() Application.Calculate End Sub 'End code Thanks, Mike. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Print Preview and Modeless Form | Excel Programming | |||
Removing focus from a Modeless Form? | Excel Programming | |||
Activating a modeless form | Excel Programming | |||
Modeless but waiting form | Excel Programming | |||
Modeless form for user interaction | Excel Programming |