Thanks
The code import a file ( txt ) into a spreadsheet
CAn you tell me just are the method to import txt UTF8 into spreadsheet ?
in excell the fileorigin is automatic put to Unicode , not with my code
Sorry for my bad english and for this code.
Regards
Thanks
I have try CreateObjectFromFile but the resuklts is the same , bad characters in spreasheet
My code :
if(ext = '.TXT') or (ext = '.CSV') then
begin
CreateObject('Excel.Sheet.8',false);
ExcelApplication1 := TExContext.GetExcelApplication...
Ok thanks sorry
Delphi 7 with excell 2007 or 2010 .
Open a file wich contains UTF8 characters .
When i open the file directly with Excel , the origin file automaticly go to : ( 650001:Unicode(UTF8)) . the datas are correct on the spreadsheet.
It s not correct with my program (...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.