I am trying to run a certain macro in very short intervals (every second, and, yes it works and does not freeze the system) from a certain time until a certain time. This means I need a starting point and a cutoff point. I cannot use the Workbook_Open() Event, since I already have other macros triggering at different times after the opening of the Workbook. From my experiments so far, any attempt I made ended up either running it from the moment i open the Workbook and with the appropriate schedule of once a second (which is bad since I need it to wait a bit before it starts) or at the time I want it to start but runs only once.
The basic line I use to trigger the Macro once a second is this:
Application.OnTime Now + TimeValue("00:00:01"), "Path to Macro"
To summarize:
I need something like the line above to start running 15 minutes after the Workbook is opened and stop 3 hours later.
Any help would be much appreciated.