Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's some code I'm working on. I want to display a message to the
user for approximately 3 seconds and then continue on with the code. I've built a form with a message written on it. When i run this code the form displays and then it doesn't do anything. The Sleep function works fine.........I just don't know how to get the form to close automatically. On Error Resume Next Shell BankNamePath, vbMaximizedFocus If Err.Number = 5 Or Err.Number = 53 Then UserForm1.Show Sleep 3000 Unload UserForm1 Call OpenDefaultDiscTray Sleep 5000 Call CloseDefaultDiscTray Shell BankNamePath, vbMaximizedFocus End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you automatically display a vba form in excel 2007 | Excel Discussion (Misc queries) | |||
Close form automatically upon opening workbook | Excel Discussion (Misc queries) | |||
automatically close form before closing | Excel Discussion (Misc queries) | |||
Is it possible to have a messageBox to display for 2 sec's and then Close AUTOMATICALLY ? | Excel Programming | |||
In Excel how can a number automatically display in text form | Excel Worksheet Functions |