Index: jakarta-poi/src/java/org/apache/poi/hssf/model/Sheet.java =================================================================== RCS file: /home/cvspublic/jakarta-poi/src/java/org/apache/poi/hssf/model/Sheet.java,v --- jakarta-poi/src/java/org/apache/poi/hssf/model/Sheet.java 1.24 +++ jakarta-poi/src/java/org/apache/poi/hssf/model/Sheet.java @@ -999,0 +999,4 @@ + //If the row exists remove it, so that any cells attached to the row are removed + RowRecord existingRow = rows.getRow(row.getRowNumber()); + if (existingRow != null) + rows.removeRow(existingRow);