How to use Application.OnTime to call a macro at a set time everyday, without having to close workbook

Posted by Shayne K on Stack Overflow See other posts from Stack Overflow or by Shayne K
Published on 2013-06-25T15:33:33Z Indexed on 2013/06/25 16:21 UTC
Read the original article Hit count: 314

Filed under:
|
|
|

I have written a macro that uses Application.OnTime that works if I manually execute the macro. I'm trying to automate this process so I don't have to write Application.OnTime in "This Workbook" or (Private Sub Workbook_Open() Most of you do this because you can have windows scheduler open the workbook at a certain time which starts the macros on open. I CANNOT USE SCHEDULER.

Because I am not able to use windows scheduler I will keep the workbook open and the timer should refresh my data then Call "my Macro" at a certain time everyday.

Where do I place this code, and how do I set an auto timer?

© Stack Overflow or respective owner

Related posts about excel

Related posts about vba