Hello to all.
I'm urgently need answer for this, I can customize the context menu of shape with custom UI editor and .xml.
you can see my attached workbook.
But I want to remove other options from menu and additionally adding a built in function button too.
at end in shape context menu only 2 item remain 1 for execute a macro and second to run built in function.
thanks for your time.
here is my xml
it's work good but i can't do other part
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<contextMenus>
<contextMenu idMso="ContextMenuShape">
<button id="MyButton" label="Excecure your macro"
insertBeforeMso="Cut"
onAction="a" />
<menuSeparator id="MySeparator" insertBeforeMso="Cut" />
</contextMenu>
</contextMenus>
</customUI>
regards.
B.sc of computer science
hossein maleki
Bookmarks