C
catlair
Hi,
What do I need to change for this macro to count only lines with data?
With ActiveSheet
iDataCountRows = .Range("A" & .Rows.Count).End(xlUp).Row
End With
Range("A53").Select
ActiveCell.FormulaR1C1 = iDataCountRows
And what do I do to stop it at the first empty row?
catlair
What do I need to change for this macro to count only lines with data?
With ActiveSheet
iDataCountRows = .Range("A" & .Rows.Count).End(xlUp).Row
End With
Range("A53").Select
ActiveCell.FormulaR1C1 = iDataCountRows
And what do I do to stop it at the first empty row?
catlair