Find the row of all cells in a selection

  • Thread starter Thread starter TonyJeffs
  • Start date Start date
T

TonyJeffs

If I select a block of cells, C14:F19
- and then run a subroutine:

msgbox selection.row

-That would read 14, the first row in the selection.
but how can I obtain the last row in the selection?
...................


Thanks
Tony
 
And another:

Selection(Selection.Rows.Count, 1).Row

Alan Beban
 

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