How to show or hide Horizontal & Vertical scroll bar in Microsoft Excel?

We can scroll through the active worksheet with horizontal scroll bar at the bottom and vertical scroll bar at the right side by default. Here we will show you some tips to turn on or off the scroll bars in the Microsoft Excel worksheets.

doc hide bar1







Show or hide Horizontal/Vertical Scroll bar with Excel Options

Show or hide Horizontal/Vertical Scroll bar with VBA code

Show/hide Horizontal/Vertical Scroll bar with Kutools for Excel


Show or hide Horizontal/Vertical Scroll bar with Excel Options

You have to configure Excel settings in Excel Options dialog box, if want to display or hide Horizontal/Vertical Scroll bar in Excel worksheets.

  • Step 1: Click the File tab in Excel 2010 or higher version, or click the doc-office-2007-button button in Excel 2007;
  • Step 2: Click the Options button;
  • Step 3: In the Excel Options dialog box, go to the Advanced category;
  • Step 4: Scroll down to the Display options for this workbook section;
  • Step 5: Checked or unchecked the Show Horizontal Scroll bar option and Show Vertical Scroll bar option according to your needs. See screenshot:
  • Step 6: Click OK. And you will get the result that you want. If you check them, the horizontal/vertical scroll bar will display, if you uncheck them, the horizontal/vertical scroll bar will hide.


Show or hide Horizontal/Vertical Scroll bar with VBA code

The following VBA code also can help you show or hide the horizontal/vertical scroll bar. Please do as this:

Step 1: Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

Step 2: Click Insert > Module, and paste the following macro in the Module Window:

VBA code to hide the horizontal and vertical scroll bar:

Option Explicit
Private Sub Workbook_Activate()
    With ActiveWindow
        .DisplayHorizontalScrollBar = False
        .DisplayVerticalScrollBar = False
    End With
End Sub

VBA code to show the horizontal and vertical scroll bar:

Private Sub Workbook_Deactivate()
    With ActiveWindow
        .DisplayHorizontalScrollBar = True
        .DisplayVerticalScrollBar = True
    End With
End Sub

Step 3: Press the F5 key to run this code. And the horizontal and vertical scroll bar will be hidden or shown.


Show or hide Horizontal/Vertical Scroll bar with Kutools for Excel

You can easily display or hide Horizontal/Vertical Scroll bar in Excel worksheets with the View Options utility of Kutools for Excel.

Before applying Kutools for Excel, please download and install it firstly.

1: Click the Kutools > Show & Hide > View Options. See screenshot:

2: In View Options dialog box, you need to do as follows:

  • (1) check or unchecked the Vertical Scrollbar option and Horizontal Scrollbar option according to your needs
  • (2) If you just want to show or hide the scrollbar in current worksheet, please click the OK button. But if you want to show or hide the scroolbar in all sheets, please click the Apply to all sheets button

The View Options makes it possible to show or hide most of Microsoft Excel settings quickly, such as Inner Tabs, Formula Bar, Status Bar, Windows in Taskbar, Gridlines, Page Breaks, Display Zeros, Vertical Scroll bar, Horizontal Scroll bar, Sheet Tab, … etc. It will save your time in looking for these setting when you need to show or hide them.

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Show/hide Horizontal/Vertical Scroll bar with Kutools for Excel


Related articles:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Matt · 3 years ago
    Box is checked but Horz. Scroll Bar is not available.
    • To post as a guest, your comment is unpublished.
      Brian · 3 years ago
      Same here - box ticked and no horizontal scroll bar
    • To post as a guest, your comment is unpublished.
      Susan · 3 years ago
      [quote name="Matt"]Box is checked but Horz. Scroll Bar is not available.[/quote]
      I have the same problem as Matt - the box is ticked but the scroll bar still isn't visible.
  • To post as a guest, your comment is unpublished.
    Suzanne · 3 years ago
    I have vertical and horizontal scroll lines. I can see the vertical scroll line. I can only see the top of the horizontal scroll line.
  • To post as a guest, your comment is unpublished.
    Yeri · 4 years ago
    Thank you very much for the useful information I can use to help my fellow teacher asking me how to make scroll tool appear in ms excel 2007.It is so graphic and clear.
  • To post as a guest, your comment is unpublished.
    lisaf · 5 years ago
    Bless you! I've been so frustrated trying to get the scroll bars to show. YAY!