DataBase - Turning off Ribbons in Access 2007

Asked By Pete_E
20-Nov-09 10:31 AM
I recently moved a rather large application from Access 2003 to Access 2007.
I have user specific custom menus and toolbars in the database and need to
shut off the 2007 ribbons as they are not needed.  Is there an efficient way
to do this through a startup macro or short snippit of startup code?
--
Pete E
DoCmd.ShowToolbar
(1)
Access 2007
(1)
Access 2003
(1)
PleaseNOOSpamKallal
(1)
Database
(1)
AcToolbarNo
(1)
Edmonton
(1)
Kallal
(1)
  Jeanette Cunningham replied to Pete_E
20-Nov-09 08:06 PM
Assuming you have converted the db to A2007, as far as I know, you must have
at least one ribbon.
You could build a custom ribbon with only one group/button on it, and show
that, and also minimize it so that it does not take up much space.
I am assuming that there is code to minimize the ribbon - as I have never
needed to do this in code.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
  Albert D. Kallal replied to Pete_E
20-Nov-09 10:39 PM
The following will hide the office button,t he QAT, and also hide the
ribbon.....

DoCmd.ShowToolbar "Ribbon", acToolbarNo

If you leave your app in 2003 format, then your startup code and custom
menus should show, and the ribbon should no display anyway.

Just make sure you un-check in startup the allow built in tool bars.

This is outlined here:

http://www.accessribbon.de/en/index.php?FAQ:7

so, you have several approaches here that should work...


--
Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
  Jeanette Cunningham replied to Albert D. Kallal
21-Nov-09 01:50 AM
Thanks Tony, has this always been possible in A2007?


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
  Albert D. Kallal replied to Jeanette Cunningham
23-Nov-09 04:17 AM
You mean:

DoCmd.ShowToolbar "Ribbon", acToolbarNo

Yes, it is a one line command that hides all of the ribbon, the office
buttion and even the QAT.


--
Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
Create New Account
help
Access 2007 DataBase Hello! Can anyone help me please . . . how do I turn off Access 2007's ribbon when I open an Access 2000 dB application? Thanks in anticipation. Access Modules DAO Discussions DoCmd.ShowToolbar (1) Access 2003 (1) Access 2007 (1) VBA (1) AllowBuiltInToolbars (1) AllowFullMenus (1) You mean
Access 2007 Runtime DataBase Hallo Leute, in der Firma habe ich Access 2003 und alle anderen Arbeitsplätze greifen auf die DB über die Runtime Access 2000 zu. Jetzt gibt es ja die Runtime für Access 2007 zur freien Verwendung. Hier nun meine Frage. Kann ich auf allen Arbeitsplätzen die Runtime A2007 A2003 vornehmen? Danke schon einmal im voraus. Gruß Ahmed - - Antworten bitte nur in der Newsgroup Access Discussions SQL Server (1) DoCmd.ShowToolbar (1) Access 2007 (1) Office 2007 (1) Access 2003 (1) Office (1) AcToolbarYes (1
How to hide database window in Access 2007 DataBase In Access 2007 the Tables etc are visible to the left of the Switchboard. How is this kept hidden from Users? Thanks Access Security Discussions DoCmd.ShowToolbar (1) Access 2007 (1) Office (1) Database (1) AlexML (1) AcToolbarNo (1) Clifford (1) Alex (1) Hi
MS-Access 2007 Minimize / Maximize Ribbon DataBase Is there a call to minimixe or maximize the ribbon when a form or report opens? Access Modules DAO Discussions Access 2007 (1) Application (1) SendKeys (1) Microsoft Access (1) Report (1) Ribbon (1) You can *hide* the ribbon using DoCmd.ShowToolbar ?Ribbon?, acToolbarNo . . . and show it again using: DoCmd.ShowToolbar ?Ribbon?, acToolbarYes The only way I