Determine which row is active below freeze pane

  • Thread starter Thread starter dave.cuthill
  • Start date Start date
D

dave.cuthill

Hi ...

Is there a way to determine what the active row is immediately below
the freeze pane (frozen row)? I think that there must be but I can't
seem to find anything on that.
 
Here is another way...

MsgBox ActiveWindow.Panes(ActiveWindow.Panes.Count).ScrollRow

This can be made "neater" if we don't insist on doing it in one line...

With ActiveWindow.Panes
MsgBox .Item(.Count).ScrollRow
End With
 
It appears that your method can be simplified even more...

MsgBox ActiveWindow.VisibleRange(1).Row
 
Back
Top