timer on message box

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
I don't think you can do that with a message box, although you should be able to create a modeless form that does it for you.
 
Upvote 0
jimboy i already have that code running for another task that i do with the progress bar and such, all i wanted in this case is when the code is done, the last line now says

m = MsgBox("Your Summary is now complete", , "USPS")

i just get annoyed with having to click enter to get rid of the box , i would just like it do be displayed for a second then disappear on its own.

Thanks
 
Upvote 0
Like I said create a modeless userform that starts a loop on open and at the end of the loop closes itself. Put your Text Message in a Text box on the form. When you show the form the loop starts, runs for a second and then unload's or hide's itself. This gives you a message box that disappears after 1 second.
 
Upvote 0
Here is some code that I got earlier, sorry I dont remember from whom.

'POP UP MESSAGE BOX WITH TIMER
'2 represents number of seconds msgbox will appear for
CreateObject("WScript.Shell").Popup "Body of message.", 2, "Title"


Try searching the board as well for the keyword TIMER.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top