Page 1 of 1

Error printing xlsx

Posted: Tue Feb 11, 2014 9:45 pm
by CareAll
Hello,

I've created a simple xlsx file, but when I press print in Excel 2010 (or print preview in Excel 2007) the Excel stops responding.
I've sent the sample file to your e-mail address, please take a look at it.
Thanks

Tamas

Re: Error printing xlsx

Posted: Thu Feb 13, 2014 8:58 am
by larsa
Hello

I agree that your file gives the error. Please provide a code sample that produces the file.

Re: Error printing xlsx

Posted: Thu Feb 13, 2014 1:46 pm
by CareAll
Hello Lars,

The code is just about opening and saving an xlsx file:

Code: Select all

  XLS := TXLSReadWriteII5.Create(nil);
  try
    XLS.Filename := 'Temp.xlsx';
    XLS.Read;
    XLS.Version := xvExcel2007;
    XLS.Filename := 'Out.xlsx';
    XLS.Write;
  finally
    FreeAndNil(XLS);
  end;
I sent the project to you in e-mail with the source and output Excel files.

Re: Error printing xlsx

Posted: Fri Feb 14, 2014 9:20 am
by larsa
Hello

The file test.xlsx, was it not created with XLSReadWriteII?

Re: Error printing xlsx

Posted: Fri Feb 14, 2014 12:14 pm
by CareAll
Hello Lars,

No, the original file was created with Excel 2010.
(Sample project resent.)