NavigationModule Object (Outlook)

Office 2013 and later

Contribute to this content

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

Represents a navigation module in the Navigation Pane.

The NavigationModule object provides access to the various navigation modules that are displayed in the Microsoft Outlook Navigation Pane. The following objects are derived from the NavigationModule object:

Use the GetNavigationModule method or the Item method of the NavigationModules collection for the parent NavigationPane object to retrieve a NavigationModule object, then use the NavigationModuleType property of the NavigationModule object to retrieve the module type. Depending on the value of the NavigationModuleType property, you can then cast the NavigationModule object reference as one of the objects listed in the previous paragraph to access the NavigationGroups property for that object, such as a CalendarModule object.

The Shortcuts and Folder List navigation modules do not have a corresponding object, such as MailModule, because they do not support programmatic access to navigation groups or navigation folders. You can use the NavigationModule object to access the properties of the Shortcuts and Folder List modules.

You can use the Visible property to determine whether the navigation module is visible, and use the Position property to return or set the display position of the navigation module within the Navigation Pane. You can also use the Name property to return the display name of the navigation module in the Navigation Pane.