OlDefaultExpandCollapseSetting Enumeration (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Show: