Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

In Access desktop databases you can use the NavigateTo macro action to control the display of database objects in the Navigation Pane. For example, you can change how the database objects are categorized, and you can filter the objects so that only certain ones are displayed.

Note: The NavigateTo macro action isn't available in Access web apps.

Setting

The NavigateTo macro action has the following arguments.

Action argument

Description

Category

Required. The category by which you want the Navigation Pane to display objects. Click Object Type, Tables and Related Views, Modified Date, Created Date, or Custom in the Category box.

Group

Optional. The Group argument limits which objects in the category appear in the Navigation Pane. If you leave the Group argument blank, the Navigation Pane displays all database objects, categorized by the criteria you specify in the Category argument. Examples of valid Group arguments for the various Category arguments are shown in the following table.

Remarks

  • This action is similar to selecting categories and groups from the title bar of the Navigation Pane.

  • Valid Group arguments depend on which Category argument is used. If you enter an invalid Group argument, an error message appears.

    The following table contains examples of valid Group arguments for each Category argument.

Category argument

Example Group arguments

Object Type

Tables; Queries; Forms; Reports; Pages; Macros; Modules

Tables and Related Views

Names of specific tables in your database

Modified Date

Names of days of the week; Today; Yesterday; Last Week; Two Weeks Ago; Three Weeks Ago; Last Month; Older

Created Date

Names of days of the week; Today; Yesterday; Last Week; Two Weeks Ago; Three Weeks Ago; Last Month; Older

Custom

Names of custom groups you have created for the specified custom category

  • To run the NavigateTo macro action in a VBA module, use the NavigateTo method of the DoCmd object.

Note: To navigate to the top level of a category (for example, All Tables, All Access Objects, or All Dates), you must leave the Group argument blank. For example, when the Category argument is Object Type, entering All Access Objects as a Group argument results in an error.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×