View Single Post
  #5  
Old January 26th 09, 06:17 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 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")



Ads