I've a spreadsheet when I need to change the row color dependent on the data entered into a particular cell. The current VBA code, below, only changes the individual cell and not the row. Private Sub Worksheet_Change(ByVal Target As Range) Set MyPlage = Range('B13:I50') For Each Cell In. Excel Shortcuts List. Excel shortcuts are a fundamental component of efficient financial modeling. Quite simply, it’s well worth the time to learn them. Here, Wall Street Prep has compiled the most important time-saving shortcuts for Excel 2016 for both Windows and Mac.
In Microsoft Excel 2019, 2016, and , you can freeze rows and columns so that when you scroll, those panes stay in place. This can be handy for header sections so that you can see your headers no matter where you scroll to in the spreadsheet.
Freezing a Row
- Select the row below the row you want to freeze. To select a row, you need to select the entire row on the left side.
- With the row selected, click on the “View” tab at the top, select “Freeze Panes” and you’ll see several different options you can choose:
- “Freeze Panes” will freeze all rows above your selected row.
- “Freeze Top Row” will freeze only the top row no matter what row you currently have selected.
Note: If you don’t see the “Freeze Panes” option, it might be because you already have panes frozen. Select “Unfreeze Panes” to start over.
Freezing a Column
- To freeze a column, or a set of columns, you need to select the column to the right of the column(s) you want to freeze.
- With the column selected, click on the “View” tab at the top, select “Freeze Panes” and you’ll see several different options you can choose:
- “Freeze Panes” will freeze all columns to the left of your selected column.
- “Freeze First Column” will freeze only the left most column no matter what column you currently have selected.
Freezing Columns and Rows
Freezing a column and a row at the same time is a bit trickier unless you only want to freeze the left column and the top row, since those options are there all the time.
- To freeze a set of columns and rows at the same time, click on the cell below and to the right of the panes you want to freeze. For example, if you wanted to freeze column A and row 1, you would select cell B2 since it’s below and to the right of these columns and rows.
- With the proper cell selected, select the “View” tab at the top and click on the “Freeze Panes” button, and select the “Freeze Panes” option in the drop-down.
Unfreeze Panes
To unfreeze your panes at any time, just click on the “View” tab and click the “Freeze Panes” button, then select “Unfreeze Panes“.