Results 1 to 2 of 2
  1. #1
    DMT Dave is offline VIP
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    1,365

    Set Outlook Reminder to 1 Day

    Hi Guy's I wonder if anyone knows a method for VBA to set a reminder to 1 day prior to (in this case) RemDate ?

    When this code adds to Outlook calendar, it auto set to something like 30 minutes

    Code:
     Dim ouEvent As Outlook.AppointmentItem
        Dim ouApp As Outlook.Application
        Dim RemDate As Date
        Dim strSubject As String
        Dim strProgrammeCode
        
       RemDate = Me.txtRemDate
       
        Set ouApp = CreateObject("Outlook.Application")
        Set ouEvent = ouApp.CreateItem(olAppointmentItem)
        
        strSubject = Me.txtClientName & " " & Me.txtPostCode
        
        With ouEvent
            .Start = RemDate
            .Subject = Me.txtClientName
            .Location = Me.txtPostCode
            .Body = Me.txtMessage
            .ReminderSet = True
            .Save
            .Display
        End With
        
        
        Set ouEvent = Nothing
        Set ouApp = Nothing
        


  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Perhaps with:

    .ReminderMinutesBeforeStart = 1440
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Reminder every 6 months
    By theperson in forum Access
    Replies: 9
    Last Post: 10-17-2013, 11:09 AM
  2. I need a 90 day reminder
    By weadwaker in forum Programming
    Replies: 3
    Last Post: 09-25-2012, 12:49 PM
  3. Follow-up Reminder
    By 1gambit in forum Access
    Replies: 6
    Last Post: 06-30-2012, 11:42 AM
  4. Replies: 20
    Last Post: 06-27-2012, 02:19 PM
  5. Timed Pop up reminder
    By Kananelo in forum Programming
    Replies: 1
    Last Post: 03-02-2011, 12:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums