You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
I created the file helloWorld.xlsx, filled first row with "Hello".
Then executed the following:
using (var file = File.Open($"helloWorld.xlsx", FileMode.Open, FileAccess.ReadWrite))
{
var workbook = WorkbookFactory.Create(file);
var sheet = workbook[0];
var helloCell = sheet.GetRow(0).GetCell(0);
Console.WriteLine(helloCell.StringCellValue);
var row = sheet.CreateRow(1);
var worldCell = row.CreateCell(0);
worldCell.SetCellValue("World"
workbook.Write(file);
}
So after the execution I expect file to have two filled cells filled with "Hello" and "World", but in reality it stays as it was before the execution (With "Hello" only)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I created the file helloWorld.xlsx, filled first row with "Hello".
Then executed the following:
So after the execution I expect file to have two filled cells filled with "Hello" and "World", but in reality it stays as it was before the execution (With "Hello" only)
The text was updated successfully, but these errors were encountered: