How can I hide and show all the standard Excel ribbon tabs using VBA (not XML). I do not want to hide the whole ribbon (as is asked here: VBA minimize ribbon in Excel) just
First, open the Excel sheet which you want hide the ribbon tab on, then press Alt+F11. Insert new code module and add following code:
Private Sub hide() Application.ExecuteExcel4Macro "Show.ToolBar(""Ribbon"",False) End sub