Minimize the ribbon in Excel 2007 using code

  • Thread starter Thread starter Maths1
  • Start date Start date
M

Maths1

I would like to be able to minimize the ribbon using vba in Excel 2007 and
then return the ribbon before closing the application. Any help would be
appreciated. Thank you!
 
Hi Maths1

One option is this (only VBA)

Sub HideRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub


Sub ShowRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
End Sub

Another good option is to do it with RibbonX
If you want that post back
 
Back
Top