+ Reply to Thread
Results 1 to 3 of 3

Timing a macro to execute

Hybrid View

  1. #1
    Registered User
    Join Date
    02-12-2007
    Posts
    88

    Exclamation Timing a macro to execute

    Does anybody know a way how to make the code wait say 20 seconds then go to the next line?

    Is this even possible or am I in dreamworld??

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    Try this code:

    Application.Wait TimeSerial(Hour(Now), Minute(Now), Second(Now) + 20)
    Regards,
    Antonio

  3. #3
    Registered User
    Join Date
    02-12-2007
    Posts
    88
    Brilliant!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1