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

Represents the Tasks navigation module in the Navigation Pane of an explorer.

The TasksModule object, derived from the NavigationModule object, provides access to the navigation groups contained in the Tasks navigation module of the Navigation Pane for an explorer. 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 navigation module type. If the NavigationModuleType property is set to olModuleTasks, you can then cast the NavigationModule object reference as a TasksModule object to access the NavigationGroups property for that navigation module.

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

Show: