LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Does OnTime slow macro down?

I am using Chip Pearson's OnTime example to run 6 Excel
reports separated by an hour each. It appears that once
the StartTimer is ran it slows the macros down
considerably. I don't want to stop the timer because I
want these macros to run every day to automatically update
my reports on a daily basis. I have a couple of questions.

1) Can anyone confirm that having 6 Excel files open with
all of them using the OnTime event procedure to run the
macros at a given time does in fact slow down the runtime
of the macros themselves?

2) If the answer to 1 is yes, can I create a 'master'
procedure that would allow me to start and stop the timer
for all 6 files?

Below is a copy/paste of the code.

Sub StartTimer()
RunWhen = TimeValue("5:00 AM")
Application.OnTime earliesttime:=RunWhe, _
procedu=cRunWhat, schedule:=True
End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
slow macro :)[_2_] Excel Discussion (Misc queries) 1 March 3rd 10 02:41 PM
Find %ontime & SUMIF ontime ie: find matching sets within Range... Chris T-M Excel Worksheet Functions 3 October 10th 08 08:14 PM
Macro is very slow jlclyde Excel Discussion (Misc queries) 2 September 29th 08 04:43 PM
cant stop OnTime initiated macro, etc Bob Phillips[_6_] Excel Programming 4 April 30th 04 10:33 PM
need a function (not macro with ontime) to record a snapshot of a changing cell Shannon Excel Programming 3 February 2nd 04 06:26 PM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"