dbTalk Databases Forums  

Modifying Access 2007 built-in tabs/ribbons?

comp.databases.ms-access comp.databases.ms-access


Discuss Modifying Access 2007 built-in tabs/ribbons? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Arch Stanton
 
Posts: n/a

Default Modifying Access 2007 built-in tabs/ribbons? - 09-09-2010 , 07:02 PM






I successfully created a custom group and tab in Access 2007 by
adding this record to the USysRibbons table:

RibbonName RibbonXml
<customUI
xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab id="MyTab" label="My Tab">
<group id="grp1" label="My Group">
<button id="btn1" label="Hello World"
onAction="=MsgBox('Hello World')"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

Can anyone tell me a simple way to add the above group to the
existing "Home" tab in Access 2007?

I want to basically have the existing "Home" tab just as it is
now but have my "grp1" group at the beginning, right before
"View". To make room for "My Group", I'd be willing to drop 1
or 2 existing groups such as "Font" or "Window" to make room
for it.

I've read about "startFromScratch" and the need to re-create
built-in ribbons from scratch but I'd like to avoid that. If
there is no way to avoid that, perhaps there is a way to first
copy the XML attributes of a built-in tab and then repopulate
the re-created tab using that data?

Thanks a lot

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.