Share via

Can I programmatically hide the navigation pane?

Anonymous
2022-04-20T14:31:16+00:00

HansV showed me how to hide the ribbon, DoCmd.ShowToolbar "Ribbon", acToolbarNo, so I had great hopes for a similar DoCmd attribute for the pane. No such luck that I could find. Is there a way?

tia

las

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2022-04-21T10:36:40+00:00

Hi,

DoCmd.NavigateTo "acNavigationCategoryObjectType"RunCommand acCmdWindowHide

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

9 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-04-20T15:49:31+00:00

    As I said to Tom, by "progrommatically" I mean in VBA code.

    Was this answer helpful?

    0 comments No comments
  2. ScottGem 68,830 Reputation points Volunteer Moderator
    2022-04-20T15:31:37+00:00

    You can hide the Nav pane using the Options, then press the F11 key to display it.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-04-20T14:59:20+00:00

    By "programmatically" I mean in VBA code.

    Was this answer helpful?

    0 comments No comments
  4. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2022-04-20T14:37:57+00:00

    File > Options > Current Database > Display Navigation Pane

    Was this answer helpful?

    0 comments No comments