I have been trying t0 find the row count of a particular column using vba,
I have found that it can be done by using two methods, all three of which involve range ( I pretty much found this by a simple google search and then editing what I found to suit my needs)
However I feel that it would suit me better if I understood what each of them did and how they were different from each other
The two codes I used are as follows :
i = Application.CountA(Range("A:A"))
lastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
Could anyone please explain me how these two work and what is the difference between the two? Also, if you know any other way that's efficient, it would be helpful if you do share it here.