VBA to Collapse Specific Folder

jstevens
SilverLounger
Posts: 2374
Joined: 26 Jan 2010, 16:31
Location: Southern California

VBA to Collapse Specific Folder

Post by jstevens »

Is it possible to collapse a specific Outlook folder with VBA?

Example:
Result = Application.Session.Folders("MyOutlookApp").Folders("Folder_to_Collapse").Collapse = True
Regards,
John

User avatar
HansV
Administrator
Posts: 70539
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: VBA to Collapse Specific Folder

Post by HansV »

Outlook VBA doesn't have support for collapsing or expanding folders in the navigation pane.
Regards,
Hans

jstevens
SilverLounger
Posts: 2374
Joined: 26 Jan 2010, 16:31
Location: Southern California

Re: VBA to Collapse Specific Folder

Post by jstevens »

Thanks for the reply Hans.
Regards,
John