+ Reply to Thread
Results 1 to 6 of 6

Adding a delay

  1. #1
    Registered User
    Join Date
    09-25-2013
    Location
    myob,ok
    MS-Off Ver
    Excel 2007
    Posts
    63

    Adding a delay

    I have a macro that open links in column F and Column G, I will like it to open link F and wait 5 seconds before opening Column G. I've manages to make it wait 15 seconds after opening both column F and G but I can't seem to make it wait 5 seconds in between the links in Column F and Column G. Please help me

    Please Login or Register  to view this content.
    Moderator Note:

    Pls use code tags around your code next time as per forum rules.
    Last edited by Fotis1991; 10-04-2013 at 02:16 AM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Adding a delay

    Try this change
    Application.Wait (Now + TimeValue("0:00:05"))

  3. #3
    Registered User
    Join Date
    09-25-2013
    Location
    myob,ok
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Adding a delay

    That does not work.It opens both the link in both columns F and G and the waits 5 seconds to open the next row.
    What I need is column F to open and 5 seconds later I want Column G opened.

  4. #4
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Adding a delay

    It should work if you put Application.Wait (Now + TimeValue("0:00:05")) as kvsrinivasamurthy suggested between your column F and column G lines of code.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-25-2013
    Location
    myob,ok
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Adding a delay

    Thank you! I got it to work. I am very grateful for both of your help.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding a delay

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED",as per our Forum Rule #9. I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro delay
    By jackandjill in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2010, 09:41 PM
  2. Delay
    By shapper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2008, 08:41 PM
  3. delay msgbox?
    By David in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2005, 06:06 PM
  4. Print Delay
    By spartanmba in forum Excel General
    Replies: 2
    Last Post: 03-11-2005, 04:06 PM
  5. [SOLVED] delay on copy
    By klyyss in forum Excel General
    Replies: 3
    Last Post: 01-10-2005, 12:06 PM

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