This post will guide you how to hide or display the status bar in Excel. How do I hide or display the status bar with Excel VBA macro code.
Table of Contents
1. Hiding Status Bar
If you want to hide the status bar in your current workbook in Excel, you can use an Excel VBA macro to achieve the result. Just do the following steps:
#1 open your excel workbook and then click on “Visual Basic” command under DEVELOPER Tab, or just press “ALT+F11” shortcut.
#2 then the “Visual Basic Editor” window will appear.
#3 click “Insert” ->”Module” to create a new module.
#4 paste the below VBA code into the code window. Then clicking “Save” button.
Sub HideStatusBar()
Application.DisplayStatusBar = False
End Sub
#5 back to the current worksheet, then run the above excel macro. Click Run button.
#6 let’s see the result.
2. Showing Status Bar
You can use the following VBA macro code to achieve the result.
Sub HideStatusBar()
Application.DisplayStatusBar = True
End Sub
3. Video: Hiding or Showing the Status Bar
This Excel video tutorial, we’re going to explore a simple yet effective way to customize your Excel experience by controlling the visibility of the status bar using VBA macros.
Leave a Reply
You must be logged in to post a comment.