Header Banner
WonderHowTo Logo
WonderHowTo
Microsoft Office
wonderhowto.mark.png
Gadget Hacks Next Reality Food Hacks Null Byte The Secret Yumiverse Invisiverse Macgyverisms Mind Hacks Mad Science Lock Picking Driverless

How to Automatically Hide the Ribbon Menu System in Excel

Image of a text editor displaying code related to completing tasks in Excel 2003.

Teach Excel demonstrates how to completely hide the Ribbon menu system in Excel 2007 as soon as the workbook is opened. This will be done by writing a macro which hides the Ribbon only for the specific workbook in which the macro is implemented. Some helpful shortcuts are Ctrl+F1 which partially hides the ribbon, Alt+F11, which opens the Visual Basic screen, and Alt+F8, which opens the macros list. First, hit Alt+F11 to open the Visual Basic screen. Then double-click "This Workbook" on the left-side panel and a window should open. Click the drop-down menu that says "(General)" and click "Workbook." The macro will be written between the lines "Private Sub Workbook_Open()" and "End Sub." Type Application.ExecuteExcel4macro "show.toolbar(""Ribbon"",False)" and then close the screen and save the workbook as a macro-enabled workbook. Close your workbook and reopen it to see if the Ribbon has disappeared. The benefit of this is to create files that can not be edited by others, only read. The only way to get the Ribbon back is to delete the macro and save the workbook again.

Apple's iOS 26 and iPadOS 26 updates are packed with new features, and you can try them before almost everyone else. First, check Gadget Hacks' list of supported iPhone and iPad models, then follow the step-by-step guide to install the iOS/iPadOS 26 beta — no paid developer account required.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!