public static void WriteBook(IWorkbook book, string filename)
{
string filePath = FileSystem.Current.AppDataDirectory + "//" + filename;
using (var writeFile = new FileStream(filePath, FileMode.Create))
{
book.Write(writeFile);
}
}
C# NPOIで作成したExcelシートの出力
![](https://www.woodscom.co.jp/wp-content/themes/cocoon-master/screenshot.jpg)
コメント