Drawing issue
Posted: Thu Aug 28, 2014 4:02 pm
Hello,
I have a simple Excel file containing a drawing. With the following code I load and save the file:
When I try to open it with Excel, it says the xl/drawings/drawing1.xml is corrupted.
Please take a look at this error, I send you the input and output files via e-mail.
I have a simple Excel file containing a drawing. With the following code I load and save the file:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var
XLS: TXLSReadWriteII5;
begin
XLS := TXLSReadWriteII5.Create(Self);
try
XLS.Filename := 'Input.xlsx';
XLS.Read;
XLS.Filename := 'Output.xlsx';
XLS.Version := xvExcel2007;
XLS.Write;
finally
FreeAndNil(XLS);
end;
end;
Please take a look at this error, I send you the input and output files via e-mail.