A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Doris,
Did you see Bob's reply? Perhaps you will respond to his comments.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to freeze row 8 but NOT rows 1-7. Is this possible? Macros are ok if that's the only solution.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi Doris,
Did you see Bob's reply? Perhaps you will respond to his comments.
Hi there,
Have a good day!
May I know if you have any updates/replies on this issue?
I am looking forward to assisting you.
Best regards,
Doris V - MSFT | Microsoft Community Support Specialist
A single Row cannot be frozen if that's what you're trying to do. When Freeze Panes is applied all rows above the freeze are frozen [as are all columns to the left of the freeze].
i don't know what Doris V was trying to accomplish but it amounts to nothing more than use of the respective tools on the View tab of the Ribbon. It also applies the Split feature, not Freeze Panes.
Wow. It's crazy when AI bots reply
You can freeze panes very easily without using VBA. I'm having a bit of trouble understanding exactly what you want, but here's how freeze panes works. You select a cell and then use the the View tab of the Ribbon and click the Freeze Panes button. The freeze takes effect for the row directly above the selected cell and for the column on the left side of the selected cell.
In your example, select cell A8 then click the Freeze Panes button on the Ribbon.
Dear Customer,
Regarding your inquiry about freezing only row 8 in Excel without freezing rows 1-7, Excel’s default functionality does not support this directly. Typically, the Freeze Panes feature locks all rows above the selected row.
However, there is a workaround using VBA (macros). Please give it a try to see whether it works.
vba
Sub FreezeRow8Only()
With ActiveWindow
.SplitColumn = 0
.SplitRow = 8
.FreezePanes = True
End With
End Sub
vba
Sub UnfreezePanes()
ActiveWindow.FreezePanes = False
End Sub
I understand this may not be a perfect solution, and I appreciate your feedback on this limitation. If you’d like Microsoft to consider adding direct functionality for this in future updates, we encourage submitting a feature request via our official channels Ideas · Community.
Please let me know if you need further assistance!
Best regards,
Doris V - MSFT | Microsoft Community Support Specialist