Hello all,
I'm looking for some code that waits for 60secs then after the 60 secs a msgbox appears.
I have the following but I'm not sure if it is useful:
newHour = Hour(Now())
newMinute = Minute(Now())
newSecond = Second(Now()) + 5
waitTime = TimeSerial(newHour, newMinute, newSecond)
Application.Wait waitTime
Thank you.
I'm looking for some code that waits for 60secs then after the 60 secs a msgbox appears.
I have the following but I'm not sure if it is useful:
newHour = Hour(Now())
newMinute = Minute(Now())
newSecond = Second(Now()) + 5
waitTime = TimeSerial(newHour, newMinute, newSecond)
Application.Wait waitTime
Thank you.