I have a custom UI setup to add a tab to the ribbon to help with user navigation. I’ve used this in other files for years (“Previous File”) and it works fine. I recently created a new model and pasted the same code in that file using Custom UI Editor for Microsoft Office. It worked well a couple of times. Then, I got the dreaded “Slow workbook – Check Performance” message and the tab won’t open in the file anymore. I have a bunch of formatted cells with no data so the user can use that area and that’s what’s triggering the “Check Performance” message. I deleted all those cells as a test and the message stopped popping up, but the custom tab still won’t display. I’m not sure if these events are connected or not, but that’s when the file stopped showing the custom UI tab.
I’m using Windows 10 and Excel 365. The Previous File was created in Excel 2019 and the problem file was created in Excel 365. I need this to work on all versions of Excel as well as in Windows 11. The custom UI tab still works in the Previous File, so I’m wondering if something changed based on the version of Excel the file was first created in. Also, I have .Net Framework 3.5 (Includes 2.0 and 3.0) and .Net Framework 4.8 Advanced Services installed.
Anyone have any thoughts here or suggestions on how to achieve this goal in the most reliable solid fashion? I’m not and XML expert and probably know just enough to be dangerous. Any help or advise is greatly appreciated.
Below is the XML code currently being used. Also, I did a test deleting all the code except for one line with one button and it still doesn’t display the tab.
Cheers and thanks for your time!
Dman333
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<tabs>
<tab id="CoNameTab" label="CoName" insertBeforeMso="TabHome">
<!--group idMso="GroupClipboard" /-->
<group idMso="GroupFont" />
<group idMso="GroupAlignmentExcel" />
<group idMso="GroupNumber" />
<!--group idMso="GroupEditingExcel" /-->
<group idMso="GroupFormulaAuditing" />
<group id="customGroup3" label="Landsea C-Tab Navigation">
<button id="customButton8" label="Plan Lineup" imageMso="OpenStartPage" size="large" onAction="GoTo_Plan_Lineup" />
<button id="customButton6" label="Sales- Starts-Close" imageMso="RecurrenceEdit" size="large" onAction="GoTo_New_Starts" />
<button id="customButton4" label="Development Costs" imageMso="PictureRecolorGallery" size="large" onAction="GoTo_DevCosts" />
<button id="customButton1" label="CashFlow" imageMso="DollarSign" size="large" onAction="GoTo_Cashflow" />
<button id="customButton2" label="Income Statement" imageMso="CalculateSheet" size="large" onAction="GoTo_IncomeStatement" />
<button id="customButton3" label="Balance Sheet" imageMso="AcceptInvitation" size="large" onAction="GoTo_BalanceSheet" />
<button id="customButton5" label="Cap I Calculations" imageMso="PercentSign" size="large" onAction="GoTo_CapIcalc" />
</group>
<group id="customGroup4" label="Landsea Model Navigation">
<button id="customButton11" label="Cashflow Tab" imageMso="DollarSign" size="large" onAction="GoTo_CashflowTab" />
<button id="customButton12" label="Income Statement Tab" imageMso="CalculateSheet" size="large" onAction="GoTo_IncomeStatementTab" />
<button id="customButton16" label="Inventory" imageMso="OpenStartPage" size="large" onAction="GoTo_Inventory" />
<button id="customButton15" label="Reports Dashboard" imageMso="MarketingAssistance2" size="large" onAction="GoTo_ReportsDB" />
</group>
<group id="customGroup5" label="Tab Navigation">
<button id="customButton9" label="Go To Sheet" imageMso="TableIndexes" size="large" onAction="Show_Sheets" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
I’m using Windows 10 and Excel 365. The Previous File was created in Excel 2019 and the problem file was created in Excel 365. I need this to work on all versions of Excel as well as in Windows 11. The custom UI tab still works in the Previous File, so I’m wondering if something changed based on the version of Excel the file was first created in. Also, I have .Net Framework 3.5 (Includes 2.0 and 3.0) and .Net Framework 4.8 Advanced Services installed.
Anyone have any thoughts here or suggestions on how to achieve this goal in the most reliable solid fashion? I’m not and XML expert and probably know just enough to be dangerous. Any help or advise is greatly appreciated.
Below is the XML code currently being used. Also, I did a test deleting all the code except for one line with one button and it still doesn’t display the tab.
Cheers and thanks for your time!
Dman333
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<tabs>
<tab id="CoNameTab" label="CoName" insertBeforeMso="TabHome">
<!--group idMso="GroupClipboard" /-->
<group idMso="GroupFont" />
<group idMso="GroupAlignmentExcel" />
<group idMso="GroupNumber" />
<!--group idMso="GroupEditingExcel" /-->
<group idMso="GroupFormulaAuditing" />
<group id="customGroup3" label="Landsea C-Tab Navigation">
<button id="customButton8" label="Plan Lineup" imageMso="OpenStartPage" size="large" onAction="GoTo_Plan_Lineup" />
<button id="customButton6" label="Sales- Starts-Close" imageMso="RecurrenceEdit" size="large" onAction="GoTo_New_Starts" />
<button id="customButton4" label="Development Costs" imageMso="PictureRecolorGallery" size="large" onAction="GoTo_DevCosts" />
<button id="customButton1" label="CashFlow" imageMso="DollarSign" size="large" onAction="GoTo_Cashflow" />
<button id="customButton2" label="Income Statement" imageMso="CalculateSheet" size="large" onAction="GoTo_IncomeStatement" />
<button id="customButton3" label="Balance Sheet" imageMso="AcceptInvitation" size="large" onAction="GoTo_BalanceSheet" />
<button id="customButton5" label="Cap I Calculations" imageMso="PercentSign" size="large" onAction="GoTo_CapIcalc" />
</group>
<group id="customGroup4" label="Landsea Model Navigation">
<button id="customButton11" label="Cashflow Tab" imageMso="DollarSign" size="large" onAction="GoTo_CashflowTab" />
<button id="customButton12" label="Income Statement Tab" imageMso="CalculateSheet" size="large" onAction="GoTo_IncomeStatementTab" />
<button id="customButton16" label="Inventory" imageMso="OpenStartPage" size="large" onAction="GoTo_Inventory" />
<button id="customButton15" label="Reports Dashboard" imageMso="MarketingAssistance2" size="large" onAction="GoTo_ReportsDB" />
</group>
<group id="customGroup5" label="Tab Navigation">
<button id="customButton9" label="Go To Sheet" imageMso="TableIndexes" size="large" onAction="Show_Sheets" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>