timed macro

A

alan_bourne

is it possible to create a macro that gots to a page for a set amount o
time for example

cell "a1" in sheet "welcome" for 5 seconds then return to the pag
"sales"


any help would be great

thanks alan bourn
 
P

Paul B

Alan, give this a try

Sub wait()
Sheets("welcome").Select
Range("A1").Select
Application.wait Now + TimeValue("00:00:05")
Sheets("sales").Select
Range("A1").Select
End Sub


--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
 
P

Paul B

Did you try the code I posted?

--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top