VBA Range.Rows.Count giving unexpected results
Posted
by Jeffrey
on Stack Overflow
See other posts from Stack Overflow
or by Jeffrey
Published on 2010-03-12T05:15:17Z
Indexed on
2010/03/12
5:17 UTC
Read the original article
Hit count: 202
excel-vba
I have a Range variable that contains an address - $2:$2,$4:$205,$214:$214 - (3 groups of rows).
I would like to get the count of all the rows in that range.
However, range.Count gives me the count of all the cells (50,000~) and range.Rows.Count only return 1 - the count of all the rows in the first group. How do I get the count of all the rows
Thanks
© Stack Overflow or respective owner