daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dim Package As New ExcelPackage
  2. Dim wks As ExcelWorksheet
  3. Dim dt As DataTable
  4.  
  5. wks.Cells("A1").LoadFromDataTable(dt, True, TableStyles.Medium9)
  6.  
  7. Dim SaveAs As New FileInfo([...somelocation.xlsx])
  8. Package.SaveAs(SaveAs)
  9.    
  10. wks.Cells("A1").LoadFromDataTable(dt, True, TableStyles.Medium9)
  11.    
  12. wks.Cells("A1").LoadFromDataTable(dt, True)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top