Hi,
I am trying to hide some rows and then freeze panes on mouse scroll.
1. User scrolls down
2. Hide rows 1-5
3. Freeze new rows 1-5
Is this possible?
I am trying to hide some rows and then freeze panes on mouse scroll.
1. User scrolls down
2. Hide rows 1-5
3. Freeze new rows 1-5
Is this possible?
Code:
Sub FreezeRow()
ActiveWindow.FreezePanes = False
Rows("1:5").Select
ActiveWindow.FreezePanes = True
End Sub