a) declared in unit tmsuflxformats
Hello Bruno
a) i will have a try. Thx so far
b) trying to import from this (example)file www.mathgame.de/Temp/aPayPalTA.xls
import goes from the forth TabSet, ExelCell "B1"
advgridexcelio.Options.ImportCellFormats := True;
advgridexcelio.Options.ImportCellProperties := True;
advgridexcelio.Options.ImportCellSizes := True;
advgridexcelio.Options.ImportFormulas := False;
advgridexcelio.Options.ExportFormulas := False;
advgridexcelio.Options.ExportCellFormats := True;
advgridexcelio.Options.ExportCellProperties := True;
Question a) = answered, works now... Thx !
example
Was your XLS file calculated?
Please note that TAdvGridExcelIO itself will just import, it will not perform the calculation itself.
Hi Bruno, yes, of course
"Calulation = Auto" is also standard for each Excel Installation
as of my other experience (see above) i could imagine that it also has to do with "English formatting"
unfortunately, even if English -> German conversion works fine while exporting from EcxelGird -> MS-Excel
the ExcelTabsheet of a "german Excel version" does not understand "english forulated functions". Might it be that it missinterpretes "German functiosn while importing to Excel-Grid ??
best regards
M
Hi,
Another thing I think might be worth mentioning. A way you could be getting those Null values is if you open the file with AdvExcelIO, then save it and open it again. AdvExcelIO uses TMS FlexCel 3 under the hood to save to xls, and FlexCel 3 doesn't recalculate: It will write null in all formula results, and leave the formulas so Excel recalculates when you open the file. So if you open->save->open you'll see null in the formulas.
Hello Adrian
or maybe even use FlexCel 6