Solved

Minimize Navigation Pane on Autoexec?

Posted on 2011-09-29
6
880 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 57
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 57
ID: 36815048

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

Jim.
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

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 57

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

726 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