The following code is working fine for .xlsx, but it\'s not working for .xls. I got this error message
Can not open the package. Package is an OLE com
EPPlus does not work with the XLS format. Only XLSX. You'll need to find a new library.
I succesfully used Tony's answer https://stackoverflow.com/a/18904633/306515 and simply convert it using Microsoft.Office.Interop.Excel and can still then use epplus