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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top