I'm trying to construct a OnTime in milliseconds that keeps running after a debug break-mode.
- Application.OnTime gives "Can't execute code in break mode" !
- Using the API SetTimer in "user32" gives a fatal error when it is calling a sub while you are in break-mode!
- SetCoalescableTimer would probably solve it with the uToleranceDelay, but it is only for Windows 8, I got 7 64x
But I've found something here in French! using CreateWaitableTimer SetWaitableTimer. Maybe this is something, but it is written in a class which I would love to see working in a compact module-vba-code.
So if anyone has some example code for a timer that can continue after a break-mode, please let me know...
thanks,
Michel
- Application.OnTime gives "Can't execute code in break mode" !
- Using the API SetTimer in "user32" gives a fatal error when it is calling a sub while you are in break-mode!
- SetCoalescableTimer would probably solve it with the uToleranceDelay, but it is only for Windows 8, I got 7 64x
But I've found something here in French! using CreateWaitableTimer SetWaitableTimer. Maybe this is something, but it is written in a class which I would love to see working in a compact module-vba-code.
So if anyone has some example code for a timer that can continue after a break-mode, please let me know...
thanks,
Michel