I have a VSTO application and I customize the ribbon to add my own buttons using the code below.
I also have a button which opens a new workbook (without the custom ribbon).Code:protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject() { return new ReportsRibbon(); }
My problem is that when the new workbook is opened the original one also loses the sustomised ribbon items, is there a way to prevent or handle this?





Reply With Quote