A
Arch Stanton
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 phave 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
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 phave 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