OlDefaultExpandCollapseSetting enumeration (Outlook)

Specifies the expand/collapse default value specified in the DefaultExpandCollapseSetting property of the TableView and TimelineView objects.

Name Value Description
olAllCollapsed 1 All groups are collapsed when the view is initially displayed.
olAllExpanded 0 All groups are expanded when the view is initially displayed.
olLastViewed 2 Groups are displayed expanded or collapsed depending on the state the groups were in when the view was last closed.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.