Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2000 - Pause? Timer? ??? Macro 1

Status
Not open for further replies.

Freckles

Technical User
May 1, 2000
138
0
0
US
I need to flash a message on the screen for a short length of time (just enough to read the message) when a macro is run. So I am putting the message into Word Art, then deleting it. BUT how do I pause between the drawing and the deleting so that the Art can be read?

::) Deb Koplen
deb.koplen@verizon.com
koplend@swbell.net (weekends and nights)

A person can stand almost anything except a succession of ordinary days.
 
you need to use the Application.wait command

ex:
code creates wordart

Newhour = Hour(now())
NewMinute = Minute(now())
NewSecond = Second(now()) + 10
'specifies how long application is to wait
waittime = TimeSerial(newHour, newMinute, newSecond)

Application.wait waittime

code deletes wordart
 
Perfect! Thanks!!!!

::) Deb Koplen
deb.koplen@verizon.com
koplend@swbell.net (weekends and nights)

A person can stand almost anything except a succession of ordinary days.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top