Cell is locked when I write to an existing sheet

Feb 11, 2013 at 1:41 AM
Hi, I hope quickly for an answer.
I have the following code:
                HSSFSheet ws = (HSSFSheet)wb.GetSheet(Maanden[maand-1]);
                var nextRow = StartRij-1;
                HSSFRow row = (HSSFRow)ws.CreateRow(nextRow);
                       row = (HSSFRow) ws.CreateRow(colum++);

                        row.CreateCell(rij++).SetCellValue(Datarow["Datum"].ToString());

                        row.CreateCell(rij++).SetCellValue(Datarow["Factuurnummer"].ToString());
                        row.CreateCell(rij).SetCellValue(Datarow["Omschrijving"].ToString());
After writing the cells are locked, can't edit anymore

Please help

Rinaldo