

#How to freeze first two rows in excel windows
From the Windows group on the View tab, choose Split.Select the Enrollment by Seminar worksheet.Double-click any part of the split bar that divides the panes.įigure 1-4: The Split Boxes Exercise In the following exercise, you will apply split bars.When the mouse pointer changes to a split pointer, drag the split box down or left to the desired location.Position the mouse pointer over the horizontal or vertical split box.To apply a horizontal or vertical split bar: Click the cell to the right of the location for a vertical split and below the location for a horizontal split.Because each pane is a view of the same worksheet, a change in one pane means a change to the worksheet.įigure 1-3: Worsheet Split Bars Method To apply horizontal and vertical split bars: You can move between the different panes by simply clicking the pane in which you want to work. For example, if you horizontally scroll in the upper right pane, you simultaneously scroll through the lower right pane while the two left panes remain stationary.Īlthough the Split command can be accessed from the Windows group on the View tab, you can also manipulate split bars with the mouse using the split boxes shown in Figure 1-4. If you apply both horizontal and vertical split bars, in which four panes are created, only two panes remain stationary when you scroll within one pane. If you apply either a horizontal or vertical split bar, you can scroll within one pane while the other pane remains stationary. Split bars are illustrated in Figure 1-3. When you apply split bars to a worksheet, Excel creates identical copies of the worksheet side by side. You do this by applying either split bars or freezing panes.įor live face-to-face Excel training in Los Angeles call us on 888.815.0604. You might, for example, want to keep the labels in row 4 visible while you scroll down to look at information located in row 35.
#How to freeze first two rows in excel code
You could write some VBA code to handle the horizontal scrolling, but that simple adds complexity to the situation.In many cases, you might find it helpful to work with different sections of your worksheet at the same time. This means that if you scroll one of the windows left or right, the other window doesn't scroll at the same time. The biggest drawback to this approach is that the windows are not horizontally linked. This allows you to see everything you want to see, although it is a bit expensive when it comes to screen real estate since both windows have column letters visible. Now you can display the totals row (or rows) in the bottom window, and freeze the top rows in the top window. (The bottom window should be large enough to hold your totals and the top window can occupy the rest of the available space.) Use the mouse to adjust the vertical height of both windows.

What most experienced Excel users do is to put the column totals at the top of the columns instead of at the bottom. Excel won't let you do this, however-when you try, then the freeze is removed and replaced with the split, and trying to reapply the freeze removes the split. At first thought you may believe that you can freeze rows and also split the worksheet window so that you can put the totals below the split. Unfortunately there is no way to do this in Excel. He would like to also freeze the bottom row, so the column totals are always visible. Kevin has a long (vertical) worksheet that has the first few rows frozen so the column headings are always visible.
