To cancel cell editing mode, press Enter or Esc. The Freeze Panes command is not available when you're in cell editing mode (that is, you're entering a formula or data in a cell) or when a worksheet is protected. You cannot freeze rows and columns in the middle of the worksheet. You can freeze only rows at the top and columns on the left side of the worksheet. Freeze rows or columnsīefore you choose to freeze rows or columns in a worksheet, it’s important to consider the following: Note: You cannot freeze panes and split panes at the same time.