Reading cell value... [message #82016] |
Thu, 10 April 2003 08:15  |
Victoria
Messages: 152 Registered: July 2002
|
Senior Member |
|
|
Hi,
The follwoing piece of code reads only first digit of the cell value for the cells whose format cells property set as custom.But i need the whatever the value available from the cell....
for i in 22..23
loop
for j in 1..6
loop
ole2.add_arg(args, i);
ole2.add_arg(args, j);
cell:= ole2.get_obj_property(worksheet, 'Cells', args);
ole2.destroy_arglist(args);
args:= ole2.create_arglist;
cell_value :=ole2.get_char_property(cell,'Value');
message(cell_value);
end loop;
end loop;
Thanks
~V~
|
|
|
|