If Freeze Panes is greyed out in Excel for Microsoft 365 on Windows, first press Enter or Esc to leave cell-edit mode, click an ordinary worksheet cell, and switch to View > Normal. Also check whether multiple sheet tabs are selected; ungroup them if they are. These are common reasons the command is unavailable, and the right fix depends on what Excel is currently doing.
What Freeze Panes does—and what it does not do
Freeze Panes keeps selected rows at the top of the worksheet, selected columns at the left, or both visible as you scroll through the rest of the sheet. It is useful when a long list has headers or identifying details that would otherwise scroll out of view. For example, you can keep a row of column headings visible while reviewing hundreds of sales records.
Freezing is a view setting, not a way to lock data against editing. It does not protect cells, prevent other people from changing values, or change what prints. Worksheet protection and Freeze Panes serve different purposes: protection restricts certain edits, while freezing makes navigation easier.
If panes are already frozen, Excel normally offers Unfreeze Panes in the dropdown rather than treating the feature as unavailable. That is a different situation from a greyed-out command: it means a freeze setting is active and can be removed.
Check the quick causes first
Before changing workbook settings, try these simple checks. They address the most likely reasons the ribbon command cannot be clicked:
- Finish editing a cell. If the insertion cursor is visible in the formula bar or in a cell, press Enter to keep the edit or Esc to cancel it. Then click a cell again.
- Select a worksheet cell. Click a normal cell in the grid rather than a chart, image, text box, or other object. Commands can change depending on what is selected.
- Switch to Normal view. Choose View > Normal. Freeze Panes is intended for the regular worksheet view, not print-focused layouts.
- Check the sheet tabs. If several tabs are selected or the title bar indicates that sheets are grouped, ungroup them before trying again.
- Look for an existing freeze. Open View > Freeze Panes. If the menu offers Unfreeze Panes, use that command to clear the current arrangement or adjust it.
After each change, check the dropdown again. This helps identify the actual cause rather than making unrelated changes to the workbook.
Exit cell editing and select the right thing
Excel temporarily changes which commands are available while you edit a cell. For example, after typing into a cell but before confirming the entry, some ribbon actions may be disabled. Press Enter to commit the change or Esc to discard it. The same principle applies if you are editing text in the formula bar.
Freeze Panes also works from a worksheet-cell selection, so click a cell in the grid before using the command. If a chart or shape is selected, Excel may show contextual tabs for that object instead of treating the worksheet as the active selection. Clicking a blank or data cell returns focus to the grid. If you are unsure whether a cell is being edited, press Esc once and click the cell again.
Switch from a print-oriented worksheet view
Excel has several worksheet views. Normal is the everyday grid view. Page Layout shows the sheet arranged like printed pages, and Page Break Preview emphasizes page boundaries. If Freeze Panes is unavailable in a print-focused view, choose View > Normal and try again.
This change affects how the worksheet appears on screen; it does not delete data or alter the print area. You can return to a print-oriented view later. If the worksheet is already in Normal view, move on to checking the selected sheets and the current selection.
Ungroup worksheets if several tabs are selected
When multiple worksheets are selected, Excel groups them. A change made to one grouped sheet can be applied to the others, so some sheet-specific commands may be restricted. Grouping can happen accidentally when you Ctrl-click sheet tabs on Windows or Command-click them on a Mac.
To check, look for more than one highlighted sheet tab or a grouped-sheets indication in the Excel title bar. Right-click one of the selected tabs and choose Ungroup Sheets. Then click a single worksheet tab, select a cell, and check View > Freeze Panes again. If you intended to edit multiple sheets together, remember that ungrouping changes which sheets are active for future edits; it does not undo edits already made while they were grouped.
Use the correct selection to freeze rows and columns
Once the command is available, the selected cell determines where the frozen area ends. Excel freezes the rows above the selected cell and the columns to its left. For example, selecting B2 and choosing View > Freeze Panes > Freeze Panes keeps row 1 and column A visible. Selecting D3 freezes rows 1 and 2 and columns A through C.
For common one-direction freezes, choose Freeze Top Row to keep row 1 visible, or Freeze First Column to keep column A visible. These options do not depend on choosing a cell in the same way as the general Freeze Panes command. To remove a freeze, choose View > Freeze Panes > Unfreeze Panes. Then select the correct cell and apply the setting again.
For a table with two header rows and three identifying columns, click D3 before choosing Freeze Panes. If the first three columns are names, regions, and account numbers, those columns will stay on screen as you scroll right, while both header rows remain visible as you scroll down. Check the dividing lines on the worksheet to confirm the frozen boundary is where you intended.
Excel for the web and Mac differences
In Excel for the web, open the View tab and look for Freeze Panes. The web interface is not identical to the Windows desktop ribbon, and options can vary with the current view and selection. If a command is unavailable, exit cell editing, select a grid cell, and return to the standard worksheet view. If the web app still does not offer the needed control, open the workbook in the Excel desktop app, if available.
In Excel for Mac, the worksheet concepts are the same: select the cell below and to the right of the area to keep visible, then use the Freeze Panes command on the View tab or the corresponding View menu, depending on the ribbon layout. To ungroup tabs, use Command-click rather than Ctrl-click when selecting them. Mac interface labels can differ slightly between releases, but the selection rule for freezing rows and columns is the same.
Freeze Panes compared with Split and print titles
Freeze Panes is best when you want headings or identifiers to remain fixed while the data area scrolls. Split, available from the View tab, divides the worksheet window into separate panes that can be scrolled independently. It is useful for comparing distant parts of a sheet, but it is not a substitute for keeping a single header row fixed in the usual way. If the sheet is already split, remove or adjust the split before setting up the view you want.
If your goal is to repeat column headings on printed pages, freezing panes is not the solution. Use Page Layout > Print Titles and set rows to repeat at the top or columns to repeat at the left. Print titles affect printed output; frozen panes affect on-screen scrolling. A workbook may need both settings if readers use it on screen and also print it.
When the command still will not activate
If the quick checks do not help, test whether the issue belongs to the workbook or the current Excel session. Save your work, close and reopen the workbook, and try the command in a new blank workbook. If it works in a blank workbook but not the original, inspect the original for grouped sheets, unusual views, or a workbook-specific issue. If it fails in every workbook, close and restart Excel and check whether an Office update is available.
Also confirm that you are using Excel rather than viewing a file in a preview pane or another application that only displays spreadsheet content. A preview may not expose Excel’s editing controls. For a shared or read-only file, lack of editing permission is worth checking if many commands are unavailable, though read-only status alone is not the usual explanation for Freeze Panes being greyed out. Avoid changing protection or sharing settings unless you know why they are enabled; they are not the first troubleshooting steps for this command.
Frequently Asked Questions
Why is Freeze Panes greyed out in Excel?
Common causes include being in cell-edit mode, having an object rather than a cell selected, using a print-focused view, or having multiple worksheets grouped. Exit editing, choose View > Normal, select a cell, and ungroup tabs if necessary.
How do I freeze the top row and first column at the same time?
Select cell B2, then choose View > Freeze Panes > Freeze Panes. Excel freezes the row above and the column to the left, which in this example are row 1 and column A.
Why does Excel show Unfreeze Panes instead?
That usually means a freeze is already active. Choose Unfreeze Panes to remove it, then select the cell that defines the boundary you want and apply Freeze Panes again.
Can I freeze two header rows?
Yes. Select a cell in row 3, such as A3 if you do not need to freeze columns, and choose Freeze Panes. Rows 1 and 2 stay visible. Select a cell farther right as well if you want to freeze columns at the same time.
Does freezing panes protect cells from editing?
No. It only keeps part of the worksheet visible while scrolling. To restrict edits, use worksheet protection and configure which cells can be changed; that is a separate feature.
Does Freeze Panes change printed pages?
No. It changes the on-screen worksheet view. To repeat headings on printouts, set Print Titles from the Page Layout tab instead.
Related
- Excel Adjust Page Breaks for a Better Print Layout
- Excel and Outlook Not Responding? Causes and Fixes
- Excel Page Breaks for Printing: How to Add Them Easily
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Create a Default Signature in Outlook: Step-by-StepTo create a default signature in Outlook, open the signature settings for your version, create and format the…
- Excel Find and Replace Regular Expressions ExplainedNo: Excel’s standard Find and Replace dialog does not interpret regular expressions. In Microsoft 365, use the REGEXREPLACE…
- Can You Create Outlook Rules in OWA? Here’s HowYes. You can create and manage Outlook rules in Outlook on the web (OWA) to sort incoming email,…
- How to Insert an Image in Excel (Step-by-Step)To insert an image in Excel for Microsoft 365 on Windows, select the worksheet, choose Insert > Pictures…
- Excel Ran Out of Resources: Causes and FixesWhen Excel says it ran out of resources, it could not get enough memory or another system resource…
- Excel vs CSV: Key Differences and Which Format to ChooseExcel is a spreadsheet application and workbook format that can store multiple sheets, formulas, formatting, and other features;…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.