Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Jayden Brown   on Sep 11 In MS Office Category.

  
Question Answered By: Adelinda Fischer   on Sep 11

This ought a do. You can call this sub procedure from your main code
whenever you need it. Adjust the time  value to the amount  of wait  time
required.

Sub Wait()

Dim CurrentTime As Variant
CurrentTime = Time + TimeValue("0:00:02")
Application.Wait CurrentTime

End Sub

Share: 

 
 
Didn't find what you were looking for? Find more on Getting VBA to wait Or get search suggestion and latest updates.


Tagged: