Excel VBA - How to Pause Macro for Specific Amount of Time

Published: 15 December 2014
on channel: InAnOffice
17,557
66

Excel VBA - Learn how to pause macro for specific amount of time using VBA

The code used in this video:

Sub Sample()
MsgBox "Hello"
Call Pause
MsgBox "Hello again"
End Sub

Sub Pause()

Application.Wait (Now + TimeValue("00:00:05"))

End Sub


Watch video Excel VBA - How to Pause Macro for Specific Amount of Time online without registration, duration hours minute second in high quality. This video was added by user InAnOffice 15 December 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17,557 once and liked it 66 people.