I'm Using Excel 2013 on Windows 10
If I split the worksheet into 4 panels from $G$4 each of the 4 panels.
I tried
sub Worksheet_Activate()
With ActiveWindow
.FreezePanes = False ' Remove previous settings
.SplitColumn = 7 ' $G
.SplitRow = 4 ' $4
.FreezePanes = True ' Use the settings
End With
Me.ScrollArea = "$G$4:$X$200"
end sub
but that's just a first step
In particulat I want a) to disable vertical scrolling of the first 3 rows in the upper left and upper right panel b) to disable horizontal scrolling in the upper left an lower left panel c) NOT to be able to scroll up showing the first 3 rows in the lower left and lower right panel d) NOT to be able to scroll horizontal into the first 6 columns (A to F) using the lower right scrollbar
How I can I achieve this with VBA?