At this point you may set an other callback for a chosen Ribbon XML control.
You may also assign upto three customized tag values for most of the ribbon elements. These values can be read with VBA as follows:
i.e.: For a ribbon Button:
Sub OnActionButton(control As IRibbonControl) Dim varVar1 As String '....
Dim varVar2 As String
Dim varVar3 As StringvarVar1 = getTheValue(control.Tag, "CustomTagValue1")
End Sub
varVar2 = getTheValue(control.Tag, "CustomTagValue2")
varVar3 = getTheValue(control.Tag, "CustomTagValue3")
Using the button "Set Default Values" the default callbacks will be restored. These data will be read from settings on: Options / Default Callback calls
Advice : In order to use the callback "getImage" in Word / Excel it is required that the name of the callback (Name of the function) is different from the standard function named "getImage" which is set in the options.
Using the button "OK" will save the entered values for the control.