Customising the ribbon: Adding to the Picture Format Toolbar

M

Marley

Hi there, I'm customising the ribbon and want to add a group to the picture
format toolbar. This is the code but it doesn't seem to appear - what am I
doing wrong? It's like it doesn't recognise the tab name as this code works
if I changed the name to TabHome?

........

<tab idMso="TabPictureToolsFormat">
<group id="Stuff" label="Stuff">
<button id="Custom1" visible="true" size="normal" label="Left"
imageMso="Callout" onAction="InsertFormattedLabel" />
</group>
</tab>
.......
 
G

Greg Maxey

You are dealing with a different animal. Picture Format is a a contextual
tab:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<contextualTabs>
<tabSet idMso="TabSetPictureTools">
<tab idMso="TabPictureToolsFormat">
<group id="Stuff" label="Stuff">
<button id="Custom1" visible="true" size="normal" label="Left"
imageMso="Callout" onAction="InsertFormattedLabel" />
</group>
</tab>
</tabSet>
</contextualTabs>
</ribbon>
</customUI>

Hi there, I'm customising the ribbon and want to add a group to the
picture format toolbar. This is the code but it doesn't seem to
appear - what am I doing wrong? It's like it doesn't recognise the
tab name as this code works if I changed the name to TabHome?

.......

<tab idMso="TabPictureToolsFormat">
<group id="Stuff" label="Stuff">
<button id="Custom1" visible="true" size="normal" label="Left"
imageMso="Callout" onAction="InsertFormattedLabel" />
</group>
</tab>
......

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.

"It is not the critic who counts, not the man who points out how the
strong man stumbles, or where the doer of deeds could have done them
better. The credit belongs to the man in the arena, whose face is
marred by dust and sweat and blood, who strives valiantly...who knows
the great enthusiasms, the great devotions, who spends himself in a
worthy cause, who at the best knows in the end the triumph of high
achievement, and who at the worst, if he fails, at least fails while
daring greatly, so that his place shall never be with those cold and
timid souls who have never known neither victory nor defeat." - TR
 
M

Marley

Excellent thank you - another little thing I've learned from you (have used
your other tips and tricks frequently Greg!).
 
G

Greg Maxey

Good. That is what the tips and tricks are posted for.
Excellent thank you - another little thing I've learned from you
(have used your other tips and tricks frequently Greg!).

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.

"It is not the critic who counts, not the man who points out how the
strong man stumbles, or where the doer of deeds could have done them
better. The credit belongs to the man in the arena, whose face is
marred by dust and sweat and blood, who strives valiantly...who knows
the great enthusiasms, the great devotions, who spends himself in a
worthy cause, who at the best knows in the end the triumph of high
achievement, and who at the worst, if he fails, at least fails while
daring greatly, so that his place shall never be with those cold and
timid souls who have never known neither victory nor defeat." - TR
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top