Trying to create custom ribbon 2010 (1 Viewer)

jsterling0231

New member
Local time
Yesterday, 22:51
Joined
May 29, 2013
Messages
5
Hi all,

I am trying to create a custom ribbon for my database using Access 2010. I keep getting the message my xml code is wrong. The code I am using is as follows...

Code:
 <customUI xmlns=”://schemas.microsoft.com/office/2006/01/customui”>
     <RibbonstartFromScratch=”false”>
          <tabs>
               <tab id=”tabMain” label=”HSAS Home”>
                   <group id = “Group1” label=”HSAS Tools”>
                          <button idMso=”FileSave” size=”large” label=”Save” imageMso=”FileSave”/>
                          <button idMso=”SaveObjectAs” size=”large” label=”Save Object As” imageMso=”FileSaveAs”/>
                          <button idMso=”FileOpen” size=”large” label=”Open” imageMso=”FileOpen”/>
                          <button idMso=”FileCloseDatabase” size=”large” label=”Close HSA System”/>
                   </group>
                 </tab>
              </tabs>
      </ribbon>
      <backstage>
              <button idMso=”FileSave” visible=”false”/>
              <button idMso=”SaveObjectAs” visible=”false”/>
              <button idMso=”FileOpen” visible=”false”/>
              <button idMso=”fileCloseDatabase” visible=”false”/>
              <tab idMso=”TabInfo” visiable=”false”/>
              <tab idMso=”TabRecent” visiable=”false”/>
              <tab idMso=”TabNew” visiable=”false”/>
              <tab idMso=”tabShare” visible=”false”/>
              <tab idMso=”tabHelp” visible=”false/>
              <button idMso=”ApplictionOptionDialog” visible=”false”/>
              <button idMso=”FileExit” visible=”false”/>
      </backstage>
  </customUI>

NOTE:
I had to remove the http from the first line of code because I am new to the forum and I could not post with an link.

Can someone please tell me what I am doing wrong????!!!!! :banghead:

Thanks in advance for all your help. Julie
 

Ari

Registered User.
Local time
Yesterday, 19:51
Joined
Oct 22, 2011
Messages
139
Hi

Are you using the schema version 2007.

<customUI xmlns="://schemas.microsoft.com/office/2006/01/customui">

For versions 2010 and 2013 use the scheme below:

<customUI xmlns="://schemas.microsoft.com/office/2009/07/customui">

This site below has great videos about the ribbons

http://www.ribbons-access.com/articles.asp

..
 
Last edited:

DrallocD

Registered User.
Local time
Yesterday, 22:51
Joined
Jul 16, 2012
Messages
112
RibbonstartFromScratch needs to be ribbon startFromScratch

The double quotes need to be replaced with the usual ascii version

You are missing a close double quote after false (on tabHelp)
 

MarkK

bit cruncher
Local time
Yesterday, 19:51
Joined
Mar 17, 2004
Messages
8,186
Also, there is a an advanced setting (in "Access Options" in Access 2007) called "Show add-in user interface errors." If this setting is enabled then your ribbon xml errors are shown in a msgbox with the line and column number and a description of the error, which is very useful.
 

Users who are viewing this thread

Top Bottom