Welcome toExcel.Tips.Net
Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment
ExcelTips FAQ
ExcelTips Premium
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips
Advertise on the
ExcelTips Site
Assigning a Macro to a Keyboard Combination
Hiding Rows Based on a Cell Value
When you develop a worksheet you often add a row or two of labels at the top of each column, and perhaps a column of labels to the left of each row. If your worksheet becomes quite large, it is not unusual for the row and column labels to scroll off the screen so that you can no longer see them.
To keep row and column labels visible, consider "freezing" the rows and columns in which the labels are located. For instance, you could easily freeze the first four rows of a worksheet along with the first column. Then, when you scroll the worksheet the rows and columns will remain on the screen—only the unfrozen portion of the screen will scroll.
You specify what rows and columns you want to freeze by selecting the cell immediately below and to the right of the area to be frozen. For instance, if you want to freeze rows 1 through 4 and column A, you would select the cell at B5. Then, to freeze the rows and columns, you select Freeze Panes from the Window menu. (In Excel 2007 you display the View tab of the ribbon, click Freeze Panes in the Window group, and then click Freeze Panes again.) Excel places a thicker black line above and to the left of the current cell to indicate the rows and columns frozen.
If you no longer need to use the frozen panes, simply choose Unfreeze Panes from the Window menu. (In Excel 2007 you display the View tab of the ribbon, click Freeze Panes in the Window group, and then click Unfreeze Panes.)
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2591) applies to Microsoft Excel versions: 97 2000 2002 2003 2007
Tame Your Data! ExcelTips: Filters and Filtering provides all the details necessary to let you manage large sets of data with confidence and ease. Its information-packed pages demonstrate how to use the two types of filters provided by Excel: AutoFilters and advanced filters.