Solved

Minimize Navigation Pane on Autoexec?

Posted on 2011-09-29
6
894 Views
Last Modified: 2012-05-12
In Access 2010 - how do you make a database have the lefthand Navigation Pane minimized on load of the applicatoin?

I assume I could do this in the autoexec but unsure how to.  Please advise.
0
Comment
Question by:gcgcit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 36814946
you can also set to hide the NP from File > Options > current database
0
 
LVL 58
ID: 36815040

 Do a DoCmd.RunCommand acCmdWindowHide at startup or in the autoexec macro (probably a better place as you must issue the command before anything becomes visible).

Jim.
0
 
LVL 58
ID: 36815048

 BTW, a F11 with sendkeys from code will hide/unhide the window as well.

Jim.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:gcgcit
ID: 36815085
JDettman - on the autoexec I could only find "RunCode" not "RunCommand" I got this error:

Micros Access cannot find the name 'acCmdWindowHide' you entered in th eexpression.

See screenshot of my autoexec macro
ee-autoexec.JPG
0
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 36815210
 That was a VBA statement to be used in code.

  If your just going to run it in the Autoexec macro, you want the RunMenuCommand action with the command WindowHide.

Jim.
0
 

Author Closing Comment

by:gcgcit
ID: 36816349
Worked thanks!
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question