Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Filter MAPIFolder (http://www.outlookbanter.com/add-ins-outlook/85009-filter-mapifolder.html)

Michael Tissington[_3_] January 23rd 09 09:22 PM

Filter MAPIFolder
 
How do I apply a filter to an Outlook MAPIFolder to only return my
Recurring Appointments ?

Michael Bauer [MVP - Outlook] January 24th 09 03:30 PM

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 ?


Michael Tissington[_3_] January 24th 09 06:15 PM

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")


Michael Bauer [MVP - Outlook] January 25th 09 04:02 PM

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")


Dmitry Streblechenko January 26th 09 05:17 PM

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