D
Dogwoodnc
In Word 2007, I'm trying to replace a toggleButton that has a MSO image with
a custom image. I've tried several things, with no success, including:
* Retaining the toggleButton idMSO identifier, but adding the image name to
the Ribbonx XML code (image="BearPaw")
* Recording a macro that does the original MSO function, and adding the
image and OnAction name to the XML
* Recording a macro that does the original MSO function, and adding the
image, the GetPressed, and OnAction elements
* Trying to modify the VBA code to include some Boolean references (as
described in the RibbonX for Dummies book)
In each case, I either get error messages ("wrong number of arguments" or
"macro disabled") OR the macro does not produce the desired results (i.e.,
it'll turn on but not off).
So, obviously, I'm still doing something wrong. Could someone provide a
sample code for replacing an existing MSO command with a customized
ToggleButton image? (Specifically, we want to use a custom image on the
ReviewTrackChanges toggleButton. Tracking On/Tracking Off. )
Thanks in advance.
a custom image. I've tried several things, with no success, including:
* Retaining the toggleButton idMSO identifier, but adding the image name to
the Ribbonx XML code (image="BearPaw")
* Recording a macro that does the original MSO function, and adding the
image and OnAction name to the XML
* Recording a macro that does the original MSO function, and adding the
image, the GetPressed, and OnAction elements
* Trying to modify the VBA code to include some Boolean references (as
described in the RibbonX for Dummies book)
In each case, I either get error messages ("wrong number of arguments" or
"macro disabled") OR the macro does not produce the desired results (i.e.,
it'll turn on but not off).
So, obviously, I'm still doing something wrong. Could someone provide a
sample code for replacing an existing MSO command with a customized
ToggleButton image? (Specifically, we want to use a custom image on the
ReviewTrackChanges toggleButton. Tracking On/Tracking Off. )
Thanks in advance.