Access 2007 & Removing Ribbons?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kirsten
    New Member
    • Feb 2008
    • 19

    Access 2007 & Removing Ribbons?

    It has two fields - RibbonName and RibbonXML. And they contain "HideTheRib bon" and "<CustomUI xmlns="http://schemas.microso ft.com/office/2006/01/CustomUI"> <Ribbon startFromScratc h="true"/></CustomUI>"

    I attached this to the "ribbon and toolbar options" in Access Options.

    But when I use this Database I still get the Home Ribbon.

    What am I doing wrong?
  • Megalog
    Recognized Expert Contributor
    • Sep 2007
    • 378

    #2
    This works: (note, you will still have the ribbon space and the Office button on top, you cant get rid of those easily)

    Code:
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> 
        <ribbon startFromScratch="true">
        </ribbon>
    </customUI>
    First off, ribbon xml is extremely case sensitive! Compare this to what you gave us and you'll see where lowercase letters were needed.
    Second, you have to close your <ribbon...> tag as well.

    You should download the Custom UI Editor Tool from www.OpenXMLDeve loper.org. Use this to validate any ribbon code before you try it out, it will pinpoint errors and save you lots of headaches.

    Also, this article on MSDN helped me out a lot when I started tinkering with ribbons:
    Customizing the 2007 Office Fluent Ribbon for Developers

    Comment

    • Kirsten
      New Member
      • Feb 2008
      • 19

      #3
      >>First off, ribbon xml is extremely case sensitive!
      this nailed it!
      In fact I had copied mind from the MSDN article, but theirs is wrong (cause of the case sensitive.. thanks


      Originally posted by Megalog
      This works: (note, you will still have the ribbon space and the Office button on top, you cant get rid of those easily)

      Code:
      <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> 
          <ribbon startFromScratch="true">
          </ribbon>
      </customUI>
      First off, ribbon xml is extremely case sensitive! Compare this to what you gave us and you'll see where lowercase letters were needed.
      Second, you have to close your <ribbon...> tag as well.

      You should download the Custom UI Editor Tool from www.OpenXMLDeve loper.org. Use this to validate any ribbon code before you try it out, it will pinpoint errors and save you lots of headaches.

      Also, this article on MSDN helped me out a lot when I started tinkering with ribbons:
      Customizing the 2007 Office Fluent Ribbon for Developers

      Comment

      • Megalog
        Recognized Expert Contributor
        • Sep 2007
        • 378

        #4
        Cool, I'm glad it worked out for you.
        Ribbons are pesky little beasts... and it doesnt help much that Access doesnt return any error messages.. They either works great, or not at all.

        Comment

        Working...