Hi all,

I started creating custom ribbons for some of my files and it's been working great until recently.

I encountered a weird "bug" where I paste in my XML code through the UI editor, and first it works, but then suddenly after a while, when reopening the file, the custom ribbon suddenly disappears and when I open the Excel file with the UI editor again, the code is gone. The same XML code works in other files, so it doesn't seem to be the code itself. I've heard of a bug within UI editor when custom images are used that have a space in their file name (which I did).

https://www.spreadsheet1.com/office-ribbon-editors.html

Not sure if that really is the issue here. I cannot even debug the code or image names as everything is gone and every time I paste the XML code again, the ribbons don't show and the code disappears right after. So the file seems to be corrupted now and I cannot use any XML code anymore. Maybe the problem with the image name (if that's the problem) persists as the image is still stored somewhere even if it doesn't show? I unzipped the file as well and deleted the "customUI" folder, but that didn't help.

Any ideas what's causing this and how to resolve it without creating a new file?