Try this code...
Dim R As Range, TotalRows As Long
......
......
For Each R In Selection.Areas
TotalRows = TotalRows + R.Rows.Count
Next
MsgBox "That selection has " & TotalRows & " rows in it."
--
Rick (MVP - Excel)
"xp" <(E-Mail Removed)> wrote in message
news

2A91AF0-7368-4B0D-A7F2-(E-Mail Removed)...
> Hi,
>
> I need a code that will count the number of rows in a selection; BUT, the
> selection has multiple sets of discontiguous ranges of cells each with a
> various number of rows.
>
> I thought, Selection.Rows.Count would do it, but it doesn't...
>
> Thanks for the help...