Results 1 to 4 of 4
  1. #1
    jgelpi16 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544

    Question Hiding ribbon


    I followed the steps at the below address yet the ribbon still does not hide. Is there a secret to this? I'm not much of an XML person so I may be doing something wrong. I copy and pasted the XML code and everything.

    http://msdn.microsoft.com/en-us/libr...ffice.12).aspx

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    did you see the second post there. from the bottom? Michelle points out that the:
    Code:
    />
    closing tag is not recognized in 2007. I guess that's true. I did a short test, and the other tag works fine. Use this in your memo field:
    Code:
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    <ribbon startFromScratch="true">
    </ribbon>
    </customUI>
    also, be aware that this will do nothing for you if you don't turn off the SHIFT shortcut key as well. with it on, people can bypass this custom ribbon as well.

  3. #3
    DaveT is offline Access Developer
    Windows 7 Access 2010 (version 14.0)
    Join Date
    May 2010
    Location
    Texas
    Posts
    69
    Hide: DoCmd.ShowToolbar "Ribbon", acToolbarNo

    Show: DoCmd.ShowToolbar "Ribbon", acToolbarYes

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by DaveT View Post
    Hide: DoCmd.ShowToolbar "Ribbon", acToolbarNo

    Show: DoCmd.ShowToolbar "Ribbon", acToolbarYes
    as this is also in the msdn comments section on that same page.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Ribbon vs menubar
    By Mrchang in forum Access
    Replies: 1
    Last Post: 12-11-2011, 09:42 AM
  2. How to reduce ribbon height
    By alaric01 in forum Access
    Replies: 2
    Last Post: 11-09-2010, 08:38 AM
  3. Ribbon question
    By ksmith in forum Access
    Replies: 2
    Last Post: 07-13-2010, 10:27 AM
  4. Ribbon?
    By stephenaa5 in forum Reports
    Replies: 2
    Last Post: 06-29-2010, 11:22 PM
  5. Access 2007 Ribbon
    By jgelpi in forum Programming
    Replies: 2
    Last Post: 07-21-2009, 04:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums