Stripping out excel formats help

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
FANG
Posts: 3
Joined: Sat Oct 01, 2005 8:02 pm

Stripping out excel formats help

Post by FANG »

Hi Lars et al

Reading in an XLS which has a cell formatted as "november 7 2009" and a number formatted as "£100,231.05" - All I want is the numbers 40124 and 100231. How do I get it to ignore / strip off the excel formatting

Fang
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Stripping out excel formats help

Post by larsa »

Hello

If you want the numbers, just read the numbers. Example, XLS.Sheets[0].AsFloat[Col,Row]
Lars Arvidsson, Axolot Data
Post Reply