Created
May 6, 2019 15:26
-
-
Save dannylloyd/ca0608d6abe39bae9d8df6c63beb3dad to your computer and use it in GitHub Desktop.
Write to Excel using EPPLUS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (var pck = new OfficeOpenXml.ExcelPackage()) | |
{ | |
var ws = pck.Workbook.Worksheets.Add("Sheet1"); | |
ws.Cells.LoadFromCollection(mrns); | |
pck.SaveAs(new FileInfo(@"C:\Temp\Output.xlsx")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment