title: How VBA counts number of Rows?
body: <p><code>NumOfRows = ActiveSheet.Range("A1").Offset(ActiveSheet.Rows.Count - 1, 0).End(xlUp).Row</code></p>
  
  <p>I want to know that how exactly this command count the number of rows?
  I want to understand the line by line code.</p>