Bass71
MIS
- Jun 21, 2001
- 79
Hi;
I have to run a Do-Loop section of code every five minutes, for an 8 hour interval. I have the following code:
Application.Wait Now() + TimeSerial(0, 5, 0)
...although it works, the macro running continuously and I am afraid I increase the chance of crashing.
Is there a better way of executing this in which the macro rests for 5 minutes and then starts again?
thanks for your help...
I have to run a Do-Loop section of code every five minutes, for an 8 hour interval. I have the following code:
Application.Wait Now() + TimeSerial(0, 5, 0)
...although it works, the macro running continuously and I am afraid I increase the chance of crashing.
Is there a better way of executing this in which the macro rests for 5 minutes and then starts again?
thanks for your help...