Reading Excel via COM interop -
my coworker have made srcript open excel , read values it. has problem read value see in file. have value 9.12345678 depending on column size returns 9.1, 9 , on. uses text propertie. have tried using value , value2 no efffect cannot 9.12345678. ideas ? in advance.
as gerg said on workbook object set
xlbook.precisionasdisplayed := false;
and on range object use .value many thanks
Comments
Post a Comment