Hello!,
Is there a way using VBA to minimize the Ribbon in Excel 2007 and
disable maximize for a specific worksheet.
I find a way to hide the ribbon completely using eexecute excel4macro
but it hides even the munu.
thanks,
Hello!,
Is there a way using VBA to minimize the Ribbon in Excel 2007 and
disable maximize for a specific worksheet.
I find a way to hide the ribbon completely using eexecute excel4macro
but it hides even the munu.
thanks,
Try this to show & hide the ribbon:
[VBA]
Sub HideRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub
Sub ShowRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
End Sub
[/VBA]
Regards,
Simon
Please read this before cross posting!
In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
If I have seen further it is by standing on the shoulders of giants.
Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)