I need to create a ribbon bar button which will work as a shortcut for the Mark Entry button of the Index group on the References tab. I searched for ways to do this. But I was unable to find any macro which will do this.
This can be done by adding the ribbon bar button in the xml using the following code.
<button idMso="IndexMarkEntry" label="Index entry" />
But I need to put another image as the button icon image. If I use the idmso, I cant use the icon image I want. So I need to find another way to add this button. I have to write a vb custom routine to replace Mark Entry, but I don't know what to write. Can anyone help?
I added the functionality to work as a shortcut for the 'Mark Entry button of the Index group on the References tab' and added the custom image as icon to the ribbon bar button (Index entry) that I have created.
Open the .dotm file in Custom UI editor and add the custom image icon to the customUI.xml.
This should be added in the customUI.xml :
Open the .dotm and open the developer view of the template. Insert this under Ribbon :
Then insert this under Macros :
This will generate a ribbon bar button which will work as a short cut to the Mark Entry button.