Home > Back-end >  Delphi7 export Excel file version is too low, can't compatible with other software...
Delphi7 export Excel file version is too low, can't compatible with other software...

Time:11-17

This is the version before low how to change!

LocalFileName:=';
With TSaveDialog. Create (Nil) do
The begin
DefaultExt:='. XLS ';
FileName:='charging interface file + FormatDateTime (' yyyymmdd', Now ()) + '. XLS ';
The Filter:='EXCEL file | *. XLS';
InitialDir:=ExtractFileDir (Application. ExeName);
Title:='save charge interface file;
If the Execute () then
The begin
LocalFileName:=FileName;
end;
Free;

CodePudding user response:

Some people see it quickly

CodePudding user response:

Two kinds of method:
It is upgrade controls,
2 it is through the high version of EXCEL reading, and then save (high version format),

In practical use, high versions of EXCEL, it is can open the low version of the file, backward compatibility,

CodePudding user response:

The process in addition to outside and excel file name it doesn't matter

CodePudding user response:

No Excel export process that

CodePudding user response:

Try XLS XLSX instead

CodePudding user response:

The XLS in XLSX

CodePudding user response:

Try to drive with high version: AccessDatabaseEngine2007 or 2010, distinguish between 32-bit and 64 - bit,

CodePudding user response:

Recommended TXLSReadWriteII5, it supports high version of EXCEL,

CodePudding user response:

The next TMS advstringgrid advstringgridIO controls you said the problem easy to solve

CodePudding user response:

TXLSReadWriteII5 this rather easy to use
  • Related