How do you hide the Access Ribbon in 2007

When I make the mde in Access 2007 the users can see the ribbon.  How do I prevent this?
J.R. SitmanIT DirectorAsked:
Who is Participating?
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
Are you creating the MDE with Access 2007 or a prior version of Access?
J.R. SitmanIT DirectorAuthor Commented:
I did what it said in the article now I no longer have any options excpet "close access" in the Office Button.  How do I get the options back?
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Dale FyeCommented:
I use a subroutine, that I can call from the immediate window or via code:

to hide the ribbon:

DisplayRibbon False

to reveal the ribbon:


Public Sub DisplayRibbon(Optional IsVisible As Boolean = True)

    If Application.Version < 12 Then
        'do nothing
        DoCmd.ShowToolbar "Ribbon", IIf(IsVisible, acToolbarYes, acToolbarNo)
    End If
End Sub
J.R. SitmanIT DirectorAuthor Commented:
You'll have to be more specific.  Exactly where do I run this command?
Dale FyeCommented:
I put it in the Open event of my Startup form when I'm ready to field my application.

When I'm working on it, I remark that line out so that it stays visible while I'm creating the application.  If I want to see what the form look like without the ribbon displayed, I simply type the command in the VBA debug/immediate window
J.R. SitmanIT DirectorAuthor Commented:
See atachment.  this is my problem
Dale FyeConnect With a Mentor Commented:
I'm not familiar with the technique mentioned by @kinecsys in the original response to your post, so I don't know how to whatever action you took to get to your current situation.

Have you tried holding down the Shift key, when you open your database?  This will generally bypass all startup settings and get you a clean database.  Then you should be able to go to the Office button, and reverse the actions you took relating to that article.

1. Click the Microsoft Office Button Button image and then click Access Options.
2. Click the Current Database option and then, in the Ribbon and Toolbar Options section, click the Ribbon Name list and select HideTheRibbon.  ( I think you would UNSELECT 'Hide the Ribbon'), but since I don't see this option, am not 100% certain.
3. Close and restart the application.
J.R. SitmanIT DirectorAuthor Commented:
the first post answered my question, but the last post saved my butt.  I don't recommend anyone use the first post.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.