+ Reply to Thread
Results 1 to 2 of 2

Run Various Macros at Various times Automatically Everyday

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    98

    Run Various Macros at Various times Automatically Everyday

    I have 4 macros that need to be executed at different times. I need to leave the workbook open, so that it executes these macros daily without me having to do anything. I am able to get a Macro running at a specific time however unable to get mulitple macros to run at different times. Also a problem with executing it daily.

    I used the Application.OnTime TimeValue. The Macros are in the individual Modules and the Application.OnTime.TimeValue sit in THIS WORKBOOK.

    I will be very grateful for any help recieved. Thanks

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Run Various Macros at Various times Automatically Everyday

    Hi sajeel,

    It seems to me all you need to do is put all OnTime lines in the same On_Open event to accomplish your goal. Like:

    Please Login or Register  to view this content.
    Putting your modules together or leaving them separate makes no difference.

    I hope that is what you were trying to accomplish.
    See http://msdn.microsoft.com/en-us/libr...ffice.11).aspx for the specifics and how to cancel you OnTime statement if you need to.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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