![]() |
Filter MAPIFolder
How do I apply a filter to an Outlook MAPIFolder to only return my
Recurring Appointments ? |
Filter MAPIFolder
Assuming you have the folder already: Dim Result as Items Folder.Items.IncludeRecurrences=True Set Result=Folder.Items.Restrict("[IsRecurring]=True") -- Best regards Michael Bauer - MVP Outlook : Outlook Categories? Category Manager Is Your Tool : VBOffice Reporter for Data Analysis & Reporting : http://www.vboffice.net/product.html?pub=6&lang=en Am Fri, 23 Jan 2009 13:22:37 -0800 schrieb Michael Tissington: How do I apply a filter to an Outlook MAPIFolder to only return my Recurring Appointments ? |
Filter MAPIFolder
Thanks. Will the Items.RawObject also return the recurring appointments ?
On 01/24/2009 07:30, Michael Bauer [MVP - Outlook] wrote: Assuming you have the folder already: Dim Result as Items Folder.Items.IncludeRecurrences=True Set Result=Folder.Items.Restrict("[IsRecurring]=True") |
Filter MAPIFolder
What is Items.RawObject? However, you might simply try it out. -- Best regards Michael Bauer - MVP Outlook : Outlook Categories? Category Manager Is Your Tool : VBOffice Reporter for Data Analysis & Reporting : http://www.vboffice.net/product.html?pub=6&lang=en Am Sat, 24 Jan 2009 10:15:56 -0800 schrieb Michael Tissington: Thanks. Will the Items.RawObject also return the recurring appointments ? On 01/24/2009 07:30, Michael Bauer [MVP - Outlook] wrote: Assuming you have the folder already: Dim Result as Items Folder.Items.IncludeRecurrences=True Set Result=Folder.Items.Restrict("[IsRecurring]=True") |
Filter MAPIFolder
I think so. You can easily veify that in OutlookSpy (click Script Editor,
paste the script, click Run). set Items = Application.ActiveExplorer.CurrentFolder.Items Items.IncludeRecurrences=True Set Result = Items.Restrict("[IsRecurring]=True") BrowseObject(Result.RawTable) -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Michael Tissington" wrote in message ... Thanks. Will the Items.RawObject also return the recurring appointments ? On 01/24/2009 07:30, Michael Bauer [MVP - Outlook] wrote: Assuming you have the folder already: Dim Result as Items Folder.Items.IncludeRecurrences=True Set Result=Folder.Items.Restrict("[IsRecurring]=True") |
All times are GMT +1. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com