Excel to PDF Error - This is not a structured storage file


#1

Hi there,

I am using your Aspose.Cells component (v 3.9.1.0) to convert an excel document to PDF. This works ok for some documents however I am getting an error for others. The error occurs on method Aspose.Cells.Workbook.Open(string). The error information is as follows:

Error Message: This is not a structured storage file.
Error Source: Aspose.Cells
Error Target Site: Void .ctor(System.IO.BinaryReader)

The corresponding excel file is a valid file (attached).

Please advise on timescales for a fix.


Best regards,

Andy



#2

This file is not a native Excel file, but a tab-delimited text file. To open it, you should specify the file format:

workbook.Open(fileName, FileFormatType.TabDelimited);


#3

Thanks for the info and prompt response.