+ Reply to Thread
Results 1 to 12 of 12

Excel to Outlook as Delayed Email (was Task) (was Calendar)

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165

    Excel to Outlook as Delayed Email (was Task) (was Calendar)

    This isnt your typical email request, in this case I would like to set a Calendar event for a list of users with a reminder (Series) in OutLook.

    Has anyone tried this, is it possible?

    Cross posted:
    http://www.microsoft.com/office/comm...60b&sloc=en-us
    Last edited by Rick_Stanich; 10-30-2008 at 11:18 AM.
    Regards

    Rick
    Win10, Office 365

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Rick_Stanich,

    Do you want to send a reminder email to each person in the list on a specific day and time (Appointment)? What will the reminder message be? Will this information be taken from a worksheet?

    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165
    Yes Leith, a reminder.
    The message would be generated within VBA and would be something like this:

    This is an automated message!
    You have been issued CAR PRO 001.
    Please complete the CAR by 10/23/08.

    Values in BOLD will be generated from the macro, I have a userform that collects data where these values can be extracted.

    I know how to send an email but not how to send an appointment.

    If you are aware of a better method to send a message that can be re-ocurring, please let me know.
    Last edited by Rick_Stanich; 10-23-2008 at 09:16 AM.

  4. #4
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165
    As it turns out accessing the calendar is daunting and requires access to the public folders if you want to make reminders for other users on your network


    But, setting TASKs is much simpler, so to speak.
    This code sends an email and sets a TASK for a user. Now all I need to figure out is how to set a reminder timer for the task.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165
    I cant seem to get the "Reminder" to set?

    Please Login or Register  to view this content.
    Its like it is being ignored.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Rick,

    I modified a macro I wrote to send out emails at a later time and date. This seems to me what you are doing. If you want to send an email or group of emails at a later time or date, this will do just that.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  7. #7
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165
    Leith, what an exceptional idea and I'm going to try to use it instead.

    As for the Task setting for the Reminder.
    When sending the task you can set the Reminder as I did in the code, but it will not do you any good. Once the receiver accepts the Task the Reminder is set to false.
    Why? Ask MS.

  8. #8
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165
    Leith, I am getting an error in this modified code, can you lend a hand...again :
    Please Login or Register  to view this content.
    Strangley that same line works fine in this code as a stand alone module:
    Please Login or Register  to view this content.
    Last edited by Rick_Stanich; 10-29-2008 at 11:13 AM.

  9. #9
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Rick,

    Can you tell me which line generates the error and the error code?

    Sincerely,
    Leith Ross

  10. #10
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165
    Yes (It is also highlited the same in my post)
    Please Login or Register  to view this content.
    In the first set of code I posted, it fails, in the second set of code I posted it works?

  11. #11
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Rick,

    When using late binding (creating the object at run time) the object library constants aren't available. You can either replace olMailItem with a 0 (zero) or declare it like this...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  12. #12
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165
    Thank you Leith, it is very much appreciated.

+ 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