I have a powerpoint template that has an embedded Excel Worksheet. When I try to access the worksheet object I get the error "This Excel files contains BIFF7(Excel95 or earlier file format) records."
I clicked on the excel object in the template and converted it to Excel 97-2003 but that did not seem to change anything. (still get the error) Any ideas on how to correct this? Am I reading the template incorrectly? (I am new to Aspose)
Here is my code to read the object:
Dim oOLEFormat As Aspose.Slides.OleObjectFrame
Dim oWorksheet As Aspose.Cells.Worksheet
oOLEFormat = oShapes(43)
Dim ExcelObj As OleObjectFrame = oOLEFormat
Dim ms As New MemoryStream(ExcelObj.ObjectData)
Dim oWorkbook As New Aspose.Cells.Workbook
oWorkbook.Open(ms)