The following VBA code to count rows but it only counted one row out of 10 rows. The count starts at row 4 and cells in column A contain formula. How to modify the code to be able to count the non blank cell. Did try to replace Count with CountA but it does not work.
Thank you in advance for any help extended.
Cheers,
Ben
Code:
nrows=Worksheets("Master").Cell(Rows.Count,4).End(xlUp).Row
Worksheets ("Copy").Rows("2").copy
Worksheets ("Copy").Rows("3:"&nrows).Select
ActiveSheet.Paste
Thank you in advance for any help extended.
Cheers,
Ben