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.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Want to get a little bit of sound with your data? Excel can provide audible feedback that you may find helpful. Here's how.
Discover MorePress the slash key and Excel may display a series of keyboard commands near the ribbon. If this behavior drives you ...
Discover MoreExcel can helpfully display some statistical information in the program's Status Bar. If you cannot see all the ...
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