It corrupts Excel file, without doing anything.

Oct 29, 2013 at 7:52 AM
I have to change some strings to new strings in excel file. And I go through worksheets>rows>cells and check for it, if it shared string and is the same as I need then change it. But it gave error. And I removed from code the main algorithm, I mean, I only go through cells, and do nothing. And I get error in sheet, and excel wants to repair it. After repairing it was empty. I don't know why I get error if I do nothing, only going through cells?