I faced the same issue while trying to write data into excel sheet.
Aftet knowing that the cell size is small to fit the data . So i drag the cell to increase the size or wr can use wrap text for the cell and saved it and processed the file and then it works fine for me...