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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repeating a Macro Every 5 Minutes

Status
Not open for further replies.

ebizleads

Technical User
Sep 14, 2005
57
US
I have a marco that needs to run every 5 minutes. Is there a way to do this?

Thanks,

Ebizleads
 
Put a timer on a form. Set the timer interval for 60000ms (60 seconds). Keep a counter that increments by 1 each time the timer reaches its set point. On the 5th time run the macro and set the counter back to 0. HTH
 
Or you could just use 300000ms in the timer (5 minutes).



-Pete
 
Ah...good point snyperx3. I think I was thinking in VB logic again...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top