ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Setting timer to run macro at regular intervals (https://www.excelbanter.com/excel-programming/422265-re-setting-timer-run-macro-regular-intervals.html)

Gord Dibben

Setting timer to run macro at regular intervals
 
Use the OnTime method.

See Chip Pearson's site for code.

http://www.cpearson.com/excel/OnTime.aspx


Gord Dibben MS Excel MVP

On Sun, 11 Jan 2009 01:07:40 +0800, "sun" wrote:

Dear Excel Gurus,

Can I set a timer to run a macro at regular time intervals? Is there a
convenient API to use?

Thank you very much in advance.




All times are GMT +1. The time now is 02:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com