Hide/Show a customized ribbon tab in Word from VBA
I have tried to find a way to hide or show a customized ribbon tab from VBA in Word.
I have tried to do this with the Custom UI Editor and created XML scripts, but I have not been able to use these scripts from VBA.
The only examples I have seen are modifying tabs, groups and controls in the ribbon. And then the controls can run a macro.
I guess I am trying to run XML scripts from VBA. Is that possible?
Or is there another way to do this?