We are in the process of updating the site, so some pages still have the older design.

Hide the Entire Excel Interface - Ribbon Menu, Quick Access Toolbar, Status Bar, and More

Download Project Files
Author: | Edits: don

How to hide every single part of the Excel interface with the click of a button!

This allows you to make really good looking professional interfaces without having to resort to UserForms.

In this tutorial, you will learn how to hide these parts of the Excel interface:

  • How to hide the Ribbon Menu.
  • How to hide the Quick Access Toolbar.
  • How to hide the formula bar.
  • How to hide the status bar.
  • How to hide the worksheet tabs.
  • How to hide the column and row headings.
  • How to hide the horizontal scroll bar.
  • How to hide the vertical scroll bar.
  • How to make the worksheet full screen.

Basically, everything will be gone except the title of the workbook and the barline, maximize/minimize, and close buttons on the top of the application window.

Hide the Excel Interface

Sub HideAll()
' Excel VBA Tutorial - https://www.TeachExcel.com
    
    ' Hide the Horizontal Scroll Bar
    ActiveWindow.DisplayHorizontalScrollBar = False
    
    ' Hide the Vertical Scroll Bar
    ActiveWindow.DisplayVerticalScrollBar = False
    
    ' Hide the Row/Column Headings
    ActiveWindow.DisplayHeadings = False
    
    ' Hide the Worksheet Tabs
    ActiveWindow.DisplayWorkbookTabs = False
    
    ' Hide the Status Bar (bottom of the window)
    Application.DisplayStatusBar = False
    
    ' Hide the Formula Bar
    Application.DisplayFormulaBar = False
    
    ' Hide the Ribbon Menu and Quick Access Toolbar
    Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",False)"
    
    ' Display Full Screen
    'Application.DisplayFullScreen = True
 
End Sub

Show the Excel Interface

Sub ShowAll()
' Excel VBA Tutorial - https://www.TeachExcel.com
'
' Just reverse the options in the previous macro -> False becomes True
' and True becomes False.
 
    ' Exit Full Screen
    ' - If this was used to show full screen after other display settings
    '   were changed, then put it before those settings are changed back.
    '   Full-screen mode and normal mode maintain separate settings for
    '   these.
    'Application.DisplayFullScreen = False
 
    ' Show the Horizontal Scroll Bar
    ActiveWindow.DisplayHorizontalScrollBar = True
    
    ' Show the Vertical Scroll Bar
    ActiveWindow.DisplayVerticalScrollBar = True
    
    ' Show the Row/Column Headings
    ActiveWindow.DisplayHeadings = True
    
    ' Show the Worksheet Tabs
    ActiveWindow.DisplayWorkbookTabs = True
    
    ' Show the Status Bar (bottom of the window)
    Application.DisplayStatusBar = True
    
    ' Show the Formula Bar
    Application.DisplayFormulaBar = True
    
    ' Show the Ribbon Menu and Quick Access Toolbar
    Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",True)"
 
End Sub
 

Other Resources

Download the Project Files

Follow along with the tutorial by downloading the files used in it. (Completely Free)

Phone number is optional - we use it to send course discounts and weekly updates via SMS.

SMS Terms ▾
By submitting this form, you agree to receive recurring automated marketing text messages from TeachExcel at the mobile number provided. Consent is not a condition of any purchase. Msg frequency varies. Msg & data rates may apply. Reply HELP for help or STOP to cancel at any time.

View our Privacy Policy | Terms of Use

Downloadable Files: Project File

Download Project File

Follow along with the tutorial by downloading the files used in it. (Completely Free)

Phone number is optional - we use it to send course discounts and weekly updates via SMS.

SMS Terms ▾
By submitting this form, you agree to receive recurring automated marketing text messages from TeachExcel at the mobile number provided. Consent is not a condition of any purchase. Msg frequency varies. Msg & data rates may apply. Reply HELP for help or STOP to cancel at any time.

View our Privacy Policy | Terms of Use

Question? Ask it in our Excel Forum


Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons 50+ Hours of Instruction 200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course

Tutorial Details
Downloadable Files: Project File

Download Project File

Follow along with the tutorial by downloading the files used in it. (Completely Free)

Phone number is optional - we use it to send course discounts and weekly updates via SMS.

SMS Terms ▾
By submitting this form, you agree to receive recurring automated marketing text messages from TeachExcel at the mobile number provided. Consent is not a condition of any purchase. Msg frequency varies. Msg & data rates may apply. Reply HELP for help or STOP to cancel at any time.

View our Privacy Policy | Terms of Use
Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course