I'm just curious what's the "minimum" interval that VBA
can accept?
0.1 sec?
0.01 sec?
0.001 sec?
0.0001 sec?
0.00001 sec or something else?
TIA
Edmund Seet
>.
>
Have you any example code of how to get Excel to use .001 seconds in Vb such
as using the "Application.Wait" method.
Thanks,
Rocky McKinley
"Patrickl Molloy" <xl_e...@xxxhotmail.com> wrote in message
news:01be01c36b9b$43ebdde0$a001...@phx.gbl...
Use the Sleep API call for smaller time interval. It takes as its argument
the number of milleseconds.
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub Test()
Sleep dwMilliseconds:=100&
End Sub
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com ch...@cpearson.com
"Rocky McKinley" <intuitiv...@shaw.ca> wrote in message
news:OgF91b%23aDH...@tk2msftngp13.phx.gbl...
--
Regards,
Rocky McKinley
"Chip Pearson" <ch...@cpearson.com> wrote in message
news:eMrLYI$aDHA...@TK2MSFTNGP09.phx.gbl...
You can read the API reference at
Examples in VB for many APIs can be found at
http://www.mentalis.org/index2.shtml
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com ch...@cpearson.com
"Rocky McKinley" <intuitiv...@shaw.ca> wrote in message
news:OInGXQ$aDHA...@TK2MSFTNGP09.phx.gbl...
--
Regards,
Rocky McKinley
"Chip Pearson" <ch...@cpearson.com> wrote in message
news:#rYLTU$aDHA...@TK2MSFTNGP10.phx.gbl...
--
Regards,
Tom Ogilvy