Hi All,
i have the below data in "A" column, and want to count the rows from A5 cell. i am writing the below code but not able to get.
I= Sheets(2).Range("A1:A5" & Rows.Count).End(xlUp).Row - Error
I = Sheets(2).Range("A" & Rows.Count).End(xlUp).Row - Giving the count of all rows
ABC
XYZ
PNR
MNO
STZ
-
QMP
i have the below data in "A" column, and want to count the rows from A5 cell. i am writing the below code but not able to get.
I= Sheets(2).Range("A1:A5" & Rows.Count).End(xlUp).Row - Error
I = Sheets(2).Range("A" & Rows.Count).End(xlUp).Row - Giving the count of all rows
ABC
XYZ
PNR
MNO
STZ
-
QMP