Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Good afternoon,
Can anyone explain why the following code doesn't take 30 seconds to run... or when called from within another macro, doesn't delay macro execution by 30 seconds? Thanks in advance Sub HoldOnABit() Dim NewHour As Integer Dim NewMinute As Long Dim NewSecond As Long Dim WaitTime As Long NewHour = Hour(Now()) NewMinute = Minute(Now()) NewSecond = Second(Now()) + 30 WaitTime = TimeSerial(NewHour, NewMinute, NewSecond) Application.Wait WaitTime End Sub Pete |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sendkeys(keys,wait) how do I use wait | Excel Discussion (Misc queries) | |||
Wait less than a second | Excel Programming | |||
.wait for 1/2 a second | Excel Programming | |||
Application.wait & Blinking Connector | Excel Programming | |||
wait | Excel Programming |