Application.OnTime.... Calculate every 200 milliseconds. Is there a way?

mtheriault2000

Well-known Member
Joined
Oct 23, 2008
Messages
826
Hello

The function Application.OnTime could be use to refresh or recalculate a cell with the minimal interval of 1 second. Is there a way to have the function using a 200 milliseconds interval?

Martin
 
I am unfamiliar wit RTD or at least am not thinking of what it is an acronym for. Logging out, and may be missing something, but why not store the return in a variable instead of the cell?

Have a good day,

Mark

RTD stand for Real Time Data.

I want to have the value in real time, meaning being updated has a new one is available. Has I understand, the RTD is managed via the operating system and do wait for Excel to be idle before sending the value. This concept I suppose do insure that Excel will be up and running without flaws.

I still don't understand how to use it do.

Martin
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
PS....
Apparently, Windows timers side-step the mechanism that ensures that only one of the Excel and VBA threads runs at a time. And that might explain why the typical OnTime interval is so much longer.

Not really. 230 ms is an eternity on modern CPUs. I am not familiar with Windows and Excel/VBA internals, so I am reluctant to speculate further.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top