Finding the row number of first row in a selected range

  • Thread starter Thread starter Eamon Wall
  • Start date Start date
E

Eamon Wall

I'm attepting to find the row number of the first row in a user selected
range.
I'm looping throgh the rows to perform a comparison and can establish the
total number of row using

Dim Lrows as integer
Lrows = Selection.Rows.Count

How do I extract the row number of the first row, please.

Thanks in advance
 
msgbox selection.row



Eamon said:
I'm attepting to find the row number of the first row in a user selected
range.
I'm looping throgh the rows to perform a comparison and can establish the
total number of row using

Dim Lrows as integer
Lrows = Selection.Rows.Count

How do I extract the row number of the first row, please.

Thanks in advance
 

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