NavigationGroups.Delete method (Outlook)

Deletes the specified NavigationGroup object from the NavigationGroups collection.

Syntax

expression.Delete( _Group_ )

expression A variable that represents a NavigationGroups object.

Parameters

Name Required/Optional Data type Description
Group Required NavigationGroup The navigation group to be deleted.

Remarks

The Delete method raises an error if:

  • The navigation group specified in Group contains navigation folders in its NavigationFolders collection.

  • The GroupType property of the navigation group specified in Group is set to olMyFoldersGroup.

  • The parent of the NavigationGroups collection is 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.