gcgcit
asked on
Minimize Navigation Pane on Autoexec?
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.
I assume I could do this in the autoexec but unsure how to. Please advise.
you can also set to hide the NP from File > Options > current database
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.
BTW, a F11 with sendkeys from code will hide/unhide the window as well.
Jim.
ASKER
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
Micros Access cannot find the name 'acCmdWindowHide' you entered in th eexpression.
See screenshot of my autoexec macro
ee-autoexec.JPG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked thanks!