We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Reading spreadsheetml format

Hello,

I am currently evaluating your Cells component for purchase. I need to be able to read spreadsheetml files. My preliminary attempts have thrown errors. Could you please send me a code sample for reading a file in this format using VB.NET?

Thank you,
Dave King


This message was posted using Aspose.Live 2 Forum

Hi Dave,

You can use the following lines of code to load the XML file.

Dim options AS LoadOptions = New LoadOptions(LoadFormat.SpreadsheetML)
Dim objWb AS Workbook = new Workbook(sFilePath,options)

For more details on opeing files, please follow the link given below.

http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/opening-files.html

Thanks,