+ Reply to Thread
Results 1 to 6 of 6

Pausing/Wait functions

  1. #1
    Registered User
    Join Date
    09-14-2015
    Location
    Bracknell, England
    MS-Off Ver
    Office 2000
    Posts
    7

    Question Pausing/Wait functions

    I did asked this question several years ago but have forgotton as my problem has arisen again.
    Can someone advise the macro for either pausing a macro whilst its running or putting a "wait for certain length of time" command within the macro, please.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Pausing/Wait functions

    Try

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    The latter releases resources for the computer to do other things.

  3. #3
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Pausing/Wait functions

    Please Login or Register  to view this content.
    Timer measurement in seconds. To change interval length, change the 2. For less that 1 second use decimal values, eg. 0.1, 0.2, etc.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  4. #4
    Forum Contributor
    Join Date
    02-12-2006
    Location
    London UK
    Posts
    109

    Re: Pausing/Wait functions

    Is there a "wait until weekday" function please?

  5. #5
    Forum Contributor
    Join Date
    02-12-2006
    Location
    London UK
    Posts
    109

    Re: Pausing/Wait functions

    for example:
    Application.Wait (Weekday = 4)

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,209

    Re: Pausing/Wait functions

    Unfortunately your post does not comply with Rule 4 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Wait for one IE page to load then wait for a second
    By ckemp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-12-2017, 11:29 AM
  2. OnTime or Wait functions
    By Slyone2 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-20-2010, 08:55 PM
  3. Pausing before macro
    By dylanemcgregor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-08-2009, 05:40 PM
  4. Pausing VBA code
    By walduxas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2009, 04:24 AM
  5. Pausing a macro to wait for the results from the query
    By ldevrries in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2007, 10:55 AM
  6. Pausing a MACRO
    By accur8ly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2007, 01:06 AM
  7. [SOLVED] Pausing a Macro
    By PaulW in forum Excel General
    Replies: 0
    Last Post: 05-30-2006, 09:10 AM

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