![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
How do I apply a filter to an Outlook MAPIFolder to only return my
Recurring Appointments ? |
#2
|
|||
|
|||
![]() 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 ? |
#3
|
|||
|
|||
![]()
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") |
#4
|
|||
|
|||
![]() 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") |
#5
|
|||
|
|||
![]()
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") |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MAPIFolder.get_Folders and Exchange | mwebb | Add-ins for Outlook | 7 | February 15th 08 12:55 PM |
Why don't I need a MapiFolder object? | Carol G | Outlook and VBA | 5 | January 17th 07 06:38 AM |
How to add a UserProperty to a MAPIFolder? | Jeff | Outlook and VBA | 4 | November 8th 06 11:10 PM |
Help -Outlook.MAPIFolder, VBA macros | lerneree | Outlook and VBA | 1 | September 6th 06 01:59 PM |
Outlook.MAPIFolder, VBA macros | lerneree | Outlook - Using Forms | 0 | September 6th 06 11:18 AM |