Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim Package As New ExcelPackage
- Dim wks As ExcelWorksheet
- Dim dt As DataTable
- wks.Cells("A1").LoadFromDataTable(dt, True, TableStyles.Medium9)
- Dim SaveAs As New FileInfo([...somelocation.xlsx])
- Package.SaveAs(SaveAs)
- wks.Cells("A1").LoadFromDataTable(dt, True, TableStyles.Medium9)
- wks.Cells("A1").LoadFromDataTable(dt, True)
Add Comment
Please, Sign In to add comment