Article ID: 141506
Article Last Modified on 10/11/2006
DialogSheets(1).HideHowever, if you use this method, the dialog box is not hidden until the macro is finished running. The "More Information" section of this article discusses how to temporarily hide a dialog box.
Sub Test1()
DialogSheets(1).Show ' Shows the first dialog sheet in workbook.
Application.OnTime Now, "Test2"
End Sub
Sub Test2()
MsgBox "The Dialog Box is now hidden"
DialogSheets(1).Show
End Sub
how do I hide a dialog box
111867 XL Err Msg: "Not Enough Stack Space to Run Macro"
Additional query words: 5.00a 5.00c XL
Keywords: kbcode kbhowto kbprogramming KB141506