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 quicklyCodePudding 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 matterCodePudding user response:
No Excel export process thatCodePudding user response:
Try XLS XLSX insteadCodePudding user response:
The XLS in XLSXCodePudding 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 solveCodePudding user response:
TXLSReadWriteII5 this rather easy to use