Hide row and column headings in multiple worksheets

How to hide row and column headings in multiple worksheets using Excel and VBA methods

METHOD 1. Hide row and column headings in multiple worksheets using a ribbon option

EXCEL

Select worksheets > View tab > Show group > Uncheck Headings checkbox

1. Select the worksheets in which to hide the row and column headings.
Note: in this example we are hiding the row and column headings in Sheets 2 and 3. To select multiple worksheets hold the Ctrl key and click on the worksheets in which to hide the row and column headings.
Select multiple sheets

2. Select the View tab. Select the View tab

3. Click on the Headings checkbox, in the Show group, to unselect the checkbox. Uncheck Headings checkbox

METHOD 2. Hide row and column headings in multiple worksheets using a ribbon option

EXCEL

Select worksheets > Page Layout tab > Sheet Options group > Headings > Uncheck View checkbox

1. Select the worksheets in which to hide the row and column headings.
Note: in this example we are hiding the row and column headings in Sheets 2 and 3. To select multiple worksheets hold the Ctrl key and click on the worksheets in which to hide the row and column headings.
Select multiple sheets

2. Select the Page Layout tab. Select the Page Layout tab

3. Uncheck the View checkbox under the Headings title, in the Sheet Options group. Uncheck the Headings View checkbox

METHOD 1. Hide row and column headings in multiple worksheets using VBA

VBA

Sub Hide_Row_Column_Headings()
'declare variables
Dim ws1 As Worksheet
Dim ws2 As Worksheet
Set ws1 = Worksheets("Sheet2")
Set ws2 = Worksheets("Sheet3")
'hide the row and column headings in two worksheets, named Sheet2 and Sheet3
ws1.Activate
ActiveWindow.DisplayHeadings = False
ws2.Activate
ActiveWindow.DisplayHeadings = False

End Sub

OBJECTS
Worksheets: The Worksheets object represents all of the worksheets in a workbook, excluding chart sheets.
PREREQUISITES
Worksheet Names: Have worksheets named Sheet2 and Sheet3.

ADJUSTABLE PARAMETERS
Sheet Selection: Select the worksheets in which you want to hide the row and column headings by changing the Sheet2 and Sheet3 worksheet names in the VBA code to any existing worksheet names in the workbook in which the VBA code is written.

Explanation about how to hide row and column headings in multiple worksheets

EXPLANATION

EXPLANATION
This tutorial explains and provides step by step instructions on how to hide row and column headings in multiple worksheets using Excel and VBA methods.

Excel Methods: This tutorial provides two Excel methods that can be applied to hide row and column headings in multiple worksheets. Both of the methods are very similar to each other, with both of the methods needing to select the worksheets that are to have the row and column headings hidden, however, one of them uses the View tab and the other use the Page Layout tab. Using either of the two methods you can hide the row and column headings, in multiple worksheets, in three steps.

VBA Method: Using VBA the row and column headings can be automatically hidden in multiple worksheets by activating each of the worksheets that are to have the row and column headings hidden and setting their ActiveWindow.DisplayHeadings to False.

RELATED TOPICS

Related Topic Description Related Topic and Description
How to hide row and column headings in a worksheet using Excel and VBA methods
How to show row and column headings in a single worksheet using Excel and VBA methods
How to show row and column headings in multiple worksheets using Excel and VBA methods
How to hide row and column headings in a workbook using Excel and VBA methods
How to show row and column headings in a workbook using Excel and VBA methods