DoCmd.ShowToolbar "Ribbon", acToolbarNo completely hides the ribbon.
But if this is for a custom application, you probably want some kind of
menus and/or toolbars. Of course, you can specify toolbars, ribbons, and
menus in your form and report properties.
You can also make Access run with your custom Access 2003-style menus and
toolbars and no ribbon, by setting the startup properties: File (Alt-F),
Access Options, Current Database, Ribbon and Toolbar Options, then turn off
Allow Full Menus and Allow Built-in Toolbars. You can set these options
programmatically the same as Access 2003 (AllowFullMenus and
AllowBuiltInToolbars), but this does not take effect until you reopen the
database.
- Steve