How to find out (or cancel) what's scheduled with OnTime()
Is there any way to discover (or cancel) what's scheduled with OnTime()?
End doesn't do it as far as I know...
ExcelExperts.comExcel Consultancy, VBA Consultancy, Training and Tips Call:+442081234832 |
|
Excel / VBA ConsultancyFree Training VideosFree SpreadsheetsExcel / VBA JobsNavigationWho's onlineThere are currently 0 users and 602 guests online.
New Excel Experts
Current Excel / VBA Jobs |
How to find out (or cancel) what's scheduled with OnTime()Is there any way to discover (or cancel) what's scheduled with OnTime()? End doesn't do it as far as I know... |
Highest Ranked Users
Recent Blogs
ForumsRecent comments
User login |
OnTime
Once you have set it, there's no way to find out when it will run unless you store the time somewhere yourself.
This example does exactly what you're looking for:
9. VBA Tips - Run Code Every Hour, Minute or Second
- the trick is to hold the time of the run in a global variable, then unschedule the OnTime
hopeless; but maybe onkey() mappings?analysis toolpack password?
thank you, admin... no hope then.
i can keep track of my calls, that's easy but...
bloomberg and others run their code with ontime. restoring calculation mode to automatic. that's a disaster when handling solutions designed for manual calc as a full calc cycle may take long minutes...
i hoped i could disable that autocalc mode.
next question is linked somehow: onkey assigned functions can be discovered?
and last one... anyone knows the password for standard ms addins like analysis toolpack and solver?
onkey
"bloomberg and others run their code with ontime. restoring calculation mode to automatic. that's a disaster when handling solutions designed for manual calc as a full calc cycle may take long minutes..."
- if you're concerned about excessive calculations from Bloomberg, switch from in cell function calls to use the API to download the data.. that way, you have complete control over it.
- Ask the Bloomberg help desk to make you a spreadsheet...
"next question is linked somehow: onkey assigned functions can be discovered?"
not that I know of, but I think the answer to the first part resolves this for u.
"and last one... anyone knows the password for standard ms addins like analysis toolpack and solver?"
Not I.. and I wouldn't go dowloading a password cracker if you work in a financial institution. You will be hauled in front of HR before you can say "Excel Worksheet" !
If they're bothering you, you can turn them off by unchecking the addin.
Needed to disable blocking code launched from other addins...
Needed to disable blocking code launched from other addins...