Tasks - how to display "snoozed" tasks and snooze-times?

Status
Not open for further replies.

ofw62

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I've a number of 'repeating' tasks, like: record or do this or that.
When done I set a new reminder date. Sometimes I snooze such tasks, i.e. I might postpone it a day, or one or two weeks.
Have looked thru the available fields, but I believe there is no such thing as 'Snooze' or 'Postpone' column ?

Could very well be that I am overlooking something though.

Thanks!
 
This will create a new email message with a list of snoozed reminders.

Code:
Sub SnoozedReminders()
 
  Dim oReminder As Reminder
  Dim oReminders  As Outlook.Reminders
  Dim RemItems As String

Set oReminders = Outlook.Reminders
  For Each oReminder In oReminders
   
  If (oReminder.OriginalReminderDate <> oReminder.NextReminderDate) Then
   RemItems = RemItems & oReminder.Caption & vbCrLf & "Original Reminder time: " & oReminder.OriginalReminderDate & vbCrLf & "Snoozed to: " & oReminder.NextReminderDate & vbCrLf & vbCrLf
  End If

  Next oReminder
  
Set oMail = Application.CreateItem(olMailItem)
  oMail.Subject = "Generated on " & Now
  oMail.Body = RemItems
  oMail.Display

  End Sub
 
Hi Diane,
Thank you so much. Indeed, the macro runs nice.

One would expect a field to be available given the big number of fields available.

Anyway, many thanks again!

Best regards
 
This will create a new email message with a list of snoozed reminders.

Code:
Sub SnoozedReminders()
 
  Dim oReminder As Reminder
  Dim oReminders  As Outlook.Reminders
  Dim RemItems As String

Set oReminders = Outlook.Reminders
  For Each oReminder In oReminders
  
  If (oReminder.OriginalReminderDate <> oReminder.NextReminderDate) Then
   RemItems = RemItems & oReminder.Caption & vbCrLf & "Original Reminder time: " & oReminder.OriginalReminderDate & vbCrLf & "Snoozed to: " & oReminder.NextReminderDate & vbCrLf & vbCrLf
  End If

  Next oReminder
 
Set oMail = Application.CreateItem(olMailItem)
  oMail.Subject = "Generated on " & Now
  oMail.Body = RemItems
  oMail.Display

  End Sub
Hi Diane
I am weak at VBA/Macros/Coding but when I run your code I get an error Run time error ...Method Caption of object.... and debugging does not help other than to highlight the line starting RemItems.............................

Can you help or should I seek out the macro forum people ?
Thanks if you can.
 
Hmmm. It's working correctly here. If you remove 'oReminder.Caption &' from that line and run it, what happens?
 
Hmmm. It's working correctly here. If you remove 'oReminder.Caption &' from that line and run it, what happens?
Hi Diane. Thank you. This works to the extent that the original and snoozed data displays but not anything else by which to identify the "item "??? presumably what's missing is the caption?
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
O Display more months in 'Tasks' Using Outlook 3
copperberry How to display incomplete tasks due on or before 7 days from now Using Outlook 0
V How to programmatically set "Display reminders and tasks frm pstfolder Outlook VBA and Custom Forms 1
B Outlook tasks and PDF Using Outlook 4
petunia Outlook tasks module sunsetting? Exchange Server Administration 3
Fozzie Bear Shared Calendar For Scheduled Tasks Using Outlook.com accounts in Outlook 3
R unable to filter tasks when start date is on or before today Using Outlook 3
S Sync Outlook (2021) tasks with Microsoft To Do Using Outlook 1
S Appointment font size when printing only changes Tasks' font Using Outlook 0
L Format Lost between Tasks and To Do Using Outlook 0
S Outlook 365 Help me create a Macro to make some received emails into tasks? Outlook VBA and Custom Forms 1
E Outlook - Macro - send list of Tasks which are not finished Outlook VBA and Custom Forms 3
V Backup Calendar, Contacts, Tasks in an POP3 data file Using Outlook 3
V Outlook 2016 iCloud for Windows - Why no working Calendars and Tasks ? Using Outlook 1
T Outlook 365 Move newly created tasks automatically on save. Outlook VBA and Custom Forms 1
Z Import Tasks from Access Using VBA including User Defined Fields Outlook VBA and Custom Forms 0
P Outlook tasks keeps changing (updating) dates that I type Using Outlook 2
kburrows Reset Date to Keep Tasks from Archiving Using Outlook 9
O Moving "tasks" to inbox in Outlook 2016 Using Outlook 1
T Outlook 2010 Tasks are not visible in To Do list Using Outlook 5
T Outlook creating unwanted tasks in Tasks and Todo from emails Using Outlook 1
S Copy Tasks/Reminders from Shared Mailbox to Personal Tasks/Reminders Outlook VBA and Custom Forms 0
S Outlook 2016 Arrange tasks by date, additional custom sorting, but still use friendly terms like Today, Tomorrow, This week? Using Outlook 1
V Outlook 2016 Multiple recurring tasks getting created Using Outlook 0
peterbata Shared Tasks Outlook for Mac Using Outlook 5
K Outlook tasks formatting Using Outlook 4
G Move tasks up/down todo list by VBA Outlook VBA and Custom Forms 1
L Unable to Sync Web/Android MS To Do with Windows Outlook Tasks Using Outlook 3
O Outlook tasks - Add text column with multiple lines Using Outlook 3
U Macro for reminders,tasks,calendar Outlook VBA and Custom Forms 4
G Recurring tasks break links Outlook 2016 Using Outlook 5
Y Outlook 2013 Stop Outlook from automatically assigning categories to Tasks Using Outlook 0
P Outlook tasks not syncing with iCloud Using Outlook 2
P Searching tasks that are archived Using Outlook 4
B All imported tasks appear in to-do list Using Outlook 3
T Extract Data From Outlook Tasks Using Outlook 0
T Extract Data From Outlook Tasks Using Outlook 0
I To-do bar (tasks) Using Outlook 1
O Tasks - Is there a postponed date column? Using Outlook 7
O Outlook 365 - Tasks are not synchronizing? Using Outlook 7
F some tasks are disappearing Using Outlook 4
F How to show assigned tasks under certain mailbox? Using Outlook 4
P How do I convert outlook “to-do” items to “tasks” Outlook VBA and Custom Forms 1
B iCloud Option to sync contacts, mail, calendar and tasks Using Outlook 5
M tasks in todo list appearing twice Using Outlook 3
J what file contains contacts, tasks and appointments stored locally? Using Outlook 1
F Finding Meetings/Tasks in a date range Using Outlook 1
F Sharepoint tasks from multiple accounts in To-Do List Using Outlook 8
F Search folder for tasks in all task folders Using Outlook 1
B Creating an email with the list of tasks Outlook VBA and Custom Forms 0

Similar threads

Back
Top