ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Web import - number format problem (https://www.excelbanter.com/excel-programming/292904-web-import-number-format-problem.html)

Shatin

Web import - number format problem
 
The data in a column of a web page that I have imported into Excel is
originally like this:

40-2
39+6
39
38-2

When the web page is imported, Excel interprets "40-2" and "38-2" as dates.
In fact they are not. So now the cell which contains "40-2" has "1940-02-01"
as data.

How can I stop Excel from interpret text such as "40-2" as dates? If I can't
do that, how can I get it back into its original format?



Don Guillett[_4_]

Web import - number format problem
 
try pre-formatting as text

--
Don Guillett
SalesAid Software

"Shatin" wrote in message
...
The data in a column of a web page that I have imported into Excel is
originally like this:

40-2
39+6
39
38-2

When the web page is imported, Excel interprets "40-2" and "38-2" as

dates.
In fact they are not. So now the cell which contains "40-2" has

"1940-02-01"
as data.

How can I stop Excel from interpret text such as "40-2" as dates? If I

can't
do that, how can I get it back into its original format?






All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com