john robinson
New Member
- Joined
- Sep 7, 2015
- Messages
- 6
I have some software which opens a template workbook. This book has several sheets and each sheet has a different ribbon arrangement. When the sheet changes from one to another, it invalidates the ribbon and forces it to rebuild, using callbacks linked to the particular sheet, giving us the correct ribbon for that sheet. The software will open several of these template books at a time. Up to Excel 2010 this works fine but in 2013, one book is fine but if I open a second the first book stops changing the ribbon. It appears that the RibbonUI object is no longer set so it won't rebuild.
When loaded it sets the ribbon bu tI can't reset it when the book is open.
Sub ribb******ed(ribbon As IRibbonUI)
ThisWorkbook.ribbonUI = ribbon
End Sub
Has anyone come across this or got a fix for it.
Most grateful for any pointers.
John
When loaded it sets the ribbon bu tI can't reset it when the book is open.
Sub ribb******ed(ribbon As IRibbonUI)
ThisWorkbook.ribbonUI = ribbon
End Sub
Has anyone come across this or got a fix for it.
Most grateful for any pointers.
John