+ Reply to Thread
Results 1 to 3 of 3

Send email with reminder

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Send email with reminder

    Hello,

    I would like to ask your help to solve a reminder issue. My target is to send a file as attachment through email with reminder. Currently the blocking point is that how to set the reminder for the next calendar weekday?

    Here is the part of code:

    With OutMail
      .To = ""
      .CC = ""
      .BCC = ""
      .Subject = ""
      .body = ""
      .Attachments.Add Destwb.FullName
      .Importance = olImportanceHigh
      .FlagStatus = olFlagMarked
      .FlagRequest = ""
      .FlagDueBy = Date + 1 & " 10:45 AM" '<- My goal is to set the next calendar working day.
      .Display
    End With
    Thank you for the help!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Send email with reminder

    Try something like this...

    Dim d As Date
    
    d = Date + 1
    d = d + Array(1, 0, 0, 0, 0, 0, 0, 2)(Weekday(d))
    .FlagDueBy = d + TimeValue("10:45 AM")
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: Send email with reminder

    Hello AlphaFrog,

    Perfect for me!
    Thank you for the help!

+ 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. using excel to send reminder email using vb
    By Keith Gold in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2015, 01:05 AM
  2. Send email with reminder through VBA
    By sarat47 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2015, 11:46 AM
  3. Macro to send birthday reminder via outlook email
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-01-2014, 10:29 AM
  4. Search multiple columns of dates and send reminder email 30 days before expiry
    By prh2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2013, 12:47 AM
  5. send reminder email from excel spreadsheet based on several next due columns
    By lisanoe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2013, 02:38 AM
  6. send auto email reminder
    By krishnsv in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-28-2012, 11:36 PM
  7. Excel 2007 : Pop up reminder and send email from Excel 2007
    By excel_for_dummy in forum Excel General
    Replies: 1
    Last Post: 12-19-2011, 05:06 PM

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