title: Finding the first empty row in Excel with VBA occasionally causes skipped rows
body: <p>When utilizing this function, every so often it seems to skip a few lines and writes to line 12 instead of line 9, even though the contents of those cells are empty. Any thoughts?</p>
  
  <pre><code>Function firstBlankRow(ws As Worksheet) As Long
       firstBlankRow = Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
  End Function
  </code></pre>