Correct Praveen's performance optimization to correctly handle deleted rows at the end of the worksheet. Previously we included the deleted row in the worksheet because we did not take the 'RowCount' into account. When the final worksheet row is deleted, the 'RowCount' is the only thing changed.
1 file changed