Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Sun Jul 19, 2020 8:38 am

Code: Select all
    public static void XlsxConvert(string FilePath, string newFilePath)
    {
        Workbook workbook = new Workbook();
        workbook.LoadFromFile(FilePath);
        workbook.SaveToFile(newFilePath, ExcelVersion.Version2010);
        workbook.LoadFromFile(newFilePath);
        if (System.IO.File.Exists(newFilePath))
            System.IO.File.Delete(newFilePath);
        workbook.SaveToFile(newFilePath, ExcelVersion.Version97to2003);

    }


I have an xlsx Version2013 file that I would like to save to Version97to2003. It fails with "Cannot open storage. File Name is:....". I have a feeling this isnt a precise error being thrown. I can down-save the version to Version2010 but not to Version 97to2003. Anyone else have a probem with this ?

Redstone
 
Posts: 1
Joined: Tue Jul 14, 2020 6:22 am

Mon Jul 20, 2020 3:46 am

Hello,

Thanks for your inquiry.
I did an initial test with the latest Spire.XLS Pack(Hotfix) Version:10.7.2 but did not reproduce your issue. To help us investigate it more accurately, please provide us with your input file. You could upload it here or send it to us (support@e-iceblue.com) via email. Thanks in advance.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Mon Aug 03, 2020 3:55 am

Hello,

Greetings from E-iceblue!
How is your issue now? Could you please provide more information to help us investigate further?

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.XLS