Written by Allen Wyatt (last updated April 2, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365
Mitch has suddenly lost the row numbers on the far left of his workbooks. He wonders how he can get them back.
This could be a matter as simple as your Excel program window being "off screen" just a bit on the left. If so, then use the mouse to click in the title bar area of the window and drag the window to the right. You can also adjust the size of the program window, if necessary.
There is a setting in Excel that controls the display of row numbers (which Microsoft refers to as "row headers") at the left side of your worksheet. This setting simultaneously controls the display of the column headers at the top of the worksheet. The easiest way to access this setting is to follow these steps:
Figure 1. The Advanced options of the Excel Options dialog box.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9899) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!
What are you to do if you suspect that some of your worksheet functions aren't recalculating automatically? Here's some ...
Discover MoreWhen your screen doesn't behave as you expect, it could be because of the Scroll Lock on your system. Here's what to check.
Discover MoreNormally Excel displays row and column headers in a worksheet. If you prefer, you can turn these navigational aids off ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2022-04-02 10:07:38
J. Woolley
The row/column labels (headers) are toggled ON/OFF by the worksheet’s Window property DisplayHeadings. For the active worksheet, the following VBA statement will toggle both:
ActiveWindow.DisplayHeadings = Not ActiveWindow.DisplayHeadings
To set them ON for all worksheets in the active workbook:
Dim WS as Worksheet
For Each WS In ActiveWorkbook.Worksheets
WS.Activate
ActiveWindow.DisplayHeadings = True
Next WS
My Excel Toolbox includes the WindowDressing macro, which will toggle several such properties for the active worksheet or all worksheets. A screenshot is included in my recent comment added to the following Tip:
https://excelribbon.tips.net/T009308_Controlling_Where_You_Edit_Cell_Contents.html
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments