Removing / hiding a Tab from the Main Tabs on an Excel Ribbon Control. RRS feed

  • Question

  • I am writing code in VB.NET and trying to find out if is it possible, at run time, to remove / hide / disable a tab from the Main Tabs on an Excel Ribbon Control?

    So far I have managed to hide the DisplayFormulaBar from an Excel window opened in a panel (this is set as the parent of the Excel application) within a Windows Form but I have not found a way to gain control of items within the Excel Ribbon Bar.

    I can provide the skeleton code I have thus far, if needed.


    • Edited by HotIndigo Wednesday, March 18, 2020 8:14 PM
    Wednesday, March 18, 2020 4:42 PM