Freeze Row when scrolled to it

Arrushing

New Member
Joined
Jun 9, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I'm building a one-sheet loan amortization calculator. The top section of the calculator is the input section, the middle section is the output/summary, and the bottom section is the amortization table.

I'm trying to lock the top row of the amortization table (row 64) as I scroll down the table, but also want to scroll up to the top of the document as well. I'm basically trying to lock the row ONLY when I scroll to it and past it, however want the row to stay where it is as I scroll up to the other sections.

Is there a way to accomplish this?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
not quite sure of your ask but try the freeze pane option and use a shortcut key to toggle as you need.

the below script freezes panes as per your selection

VBA Code:
Sub AdjustFreezePanes()
ActiveWindow.FreezePanes = False
ActiveWindow.FreezePanes = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,745
Messages
6,126,636
Members
449,324
Latest member
AmirMalik

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top