Hi,
Well, yes, Aspose.Cells for .NET can auto-detect FileFormatType, so if you don't provide the format type (e.g.., .xls, .xlt, .xlsx, .xlsm etc. ), it will determine the file format type automatically.
e.g..,
Dim xl As New Aspose.Cells.Workbook()
Dim fs As New IO.FileStream(filename, IO.FileMode.Open, IO.FileAccess.Read, IO.FileShare.ReadWrite)
Dim sr As New IO.StreamReader(fs)
xl.Open(sr.BaseStream)
Thank you.
Amjad Sahi
Support Developer,
Aspose Nanjing Team
Contact Us