NavigationGroups.Create method (Outlook)

Creates and returns a new NavigationGroup object, added to the end of the NavigationGroups collection.

Syntax

expression. Create( _GroupDisplayName_ )

expression A variable that represents a NavigationGroups object.

Parameters

Name Required/Optional Data type Description
GroupDisplayName Required String The value of the Name property for the new NavigationGroup object.

Return value

A NavigationGroup object that represents the new navigation group.

Remarks

A NavigationGroups collection can contain multiple NavigationGroup objects with the same Name property values.

An error occurs if an add-in attempts to add more than 50 navigation groups to a NavigationGroups collection, or if an add-in attempts to add a NavigationGroup object to the NavigationGroups collection of a MailModule object.

See also

NavigationGroups Object

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.