+ Reply to Thread
Results 1 to 4 of 4

Schedule a macro to run at a certain time

  1. #1
    Registered User
    Join Date
    07-19-2006
    Posts
    12

    Schedule a macro to run at a certain time

    Is there a way to set a macro to automatically run at a certain time each day?

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: Schedule a macro to run at a certain time

    Look at the ONTIME method. lots of examples posted in the Forum
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Thumbs up re: Schedule a macro to run at a certain time

    Hi Martin,

    Use this code:
    Please Login or Register  to view this content.
    If you run the above macro once, it will automatically run at the mentioned time again, i.e. 1530 hrs. But, Excel should be open at that time.

    --Karan--

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    re: Schedule a macro to run at a certain time

    Karan, you need a date in there as well:
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

+ 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