How to Call a Macro Repeatedly on a Fixed Time Interval (151503)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel 98 Macintosh Edition
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q151503 SUMMARY
You can call a macro repeatedly at a set time interval using the OnTime
method and the Call statement.
REFERENCES
For more information about the OnTime method in Microsoft Excel 97, from
the Visual Basic Editor, click the Office Assistant, type OnTime, click
Search, and then click to view "OnTime Method."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If the Assistant is not able to answer your query,
please see the following article in the Microsoft Knowledge Base:
176476 OFF: Office Assistant Not Answering Visual Basic Questions
For more information about the OnTime method in Microsoft Excel version
7.0, click Answer Wizard on the Help menu and type:
For more information about the OnTime method in Microsoft Excel version
5.0, click the Search button in Help and type:
Modification Type: | Minor | Last Reviewed: | 8/17/2005 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB151503 |
---|
|