+ Reply to Thread
Results 1 to 4 of 4

Setup Multiple Timers

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,065

    Setup Multiple Timers

    I haven't started writing this macro yet, as I'm hoping for some guidance on how to start.

    I have an Excel report listing various reports that need to be sent on a timely basis (weekly, monthly, annually, a specific date, etc.). I'd like to have timers set to mail out reminders to the responsible parties a few days in advance. I know how to do all of the email stuff, just not how to do the timers. Plus, the spreadsheet containing the report isn't opened every day, so I don't know how to automatically open the spreadsheet to trigger the timer to remind the person.

    Can anyone help me get started?
    Last edited by Mordred; 08-30-2011 at 12:58 PM.

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

    Re: Setup Multiple Timers

    You can have code in the Workbook Open event that decides what needs to be done when the workbook opens on some given date.

    Then schedule the workbook to open at appropriate times using Windows Task Scheduler (http://support.microsoft.com/kb/308569).

    Create your own digital certificate and sign the project so that macros will be enabled when the workbook opens.
    Last edited by shg; 02-02-2010 at 04:20 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,065

    Re: Setup Multiple Timers

    Good start, but of course leads to more questions:
    Please Login or Register  to view this content.
    hmm, so maybe i could have a date field in my masterlist, and have the Macro check all of those dates whenever the workbook is opened, and if the date is within a certain criteria evoke my email routine. I can probably do that, though I might need some help.
    Please Login or Register  to view this content.
    I've never used Windows Task Scheduler. Any tips or locations where I could find more information?
    Please Login or Register  to view this content.
    Okay, you lost me on this one. Not familiar with digital certificates, or signing the project.

    Thanks for helping me get started!

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

    Re: Setup Multiple Timers

    Task Scheduler:
    Start > Control Panel > Scheduled Tasks > Add Scheduled Task, browse to the workbook, set the recurrence

    Digital certificates:
    http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx
    http://support.microsoft.com/kb/206637
    http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

+ 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