OutlookBarGroups Object (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.

Contains a set of OutlookBarGroup objects representing all groups in the Outlook Bar.

Use the Groups property to return the OutlookBarGroups object from the OutlookBarStorage object.

Use Groups(index), where index is the name of an available group, to return a single OutlookBarGroup object.

The following Visual Basic for Applications (VBA) example retrieves the OutlookBarGroups collection from an OutlookBarStorage object.

Set myGroups = myOutlookBarStorage.Groups
Show: