Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Time Delay for Macros
Does anyone know how to introduce a time delay into VBA macros? I created a
macro that runs an application on about 15 different worksheets. I want to be able to have the macro pause between worksheets, to allow this application to have enough time to download on every sheet. Is this possible? If so, what code would I need? Thanks Adam Bush |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Time Delay for Macros
You might try application.wait:-
Application.Wait Now + TimeValue("00:00:10") will cause a 10 second pause. Mike " wrote: Does anyone know how to introduce a time delay into VBA macros? I created a macro that runs an application on about 15 different worksheets. I want to be able to have the macro pause between worksheets, to allow this application to have enough time to download on every sheet. Is this possible? If so, what code would I need? Thanks Adam Bush |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Time Delay for Macros
|
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Time Delay for Macros
Thanks for your help Mike. It worked perfectly. I was wondering if you
could do partial seconds. Thanks Adam Bush "Mike H" wrote: You might try application.wait:- Application.Wait Now + TimeValue("00:00:10") will cause a 10 second pause. Mike " wrote: Does anyone know how to introduce a time delay into VBA macros? I created a macro that runs an application on about 15 different worksheets. I want to be able to have the macro pause between worksheets, to allow this application to have enough time to download on every sheet. Is this possible? If so, what code would I need? Thanks Adam Bush |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Time Delay for Macros | Excel Discussion (Misc queries) | |||
time delay | Excel Programming | |||
time delay | Excel Programming | |||
Time Delay in VBA | Excel Programming | |||
Time Delay | Excel Programming |