I'm working with VBA in Word. I have to have a copy of my work in txt files. I'm saving content of every module/class/form.
Now, I need to save also custom ribbon. I don't know how to get access to ribbon xml. I know how to manipulate my ribbons (create or disable/enable buttons and other funny things) but I dont know how to get whole xml.
I'm generating my txt files using BeforeSave event (before every save I make a txt copy of my macros) - I'd like to save copy of ribbon too.
There are a lot of examples how to load or change ribbon, but about exporting existing ribbon using VBA I can't find anything.