Rediger

Del via


NavigationFolders.Add method (Outlook)

Adds the specified Folder, as a NavigationFolder object, to the end of the NavigationFolders collection.

Syntax

expression.Add (Folder)

expression A variable that represents a NavigationFolders object.

Parameters

Name Required/Optional Data type Description
Folder Required Folder The folder to add.

Return value

A NavigationFolder object that represents the new navigation folder.

Remarks

A folder can only appear in one navigation group. When adding a Folder object to a new navigation group, any references to that Folder are removed from any other navigation group of which it was previously a member.

See also

NavigationFolders 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.