If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Date conversion driving me INSANE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-12-08, 14:04
blm14 blm14 is offline
Registered User
 
Join Date: Dec 2001
Posts: 21
Date conversion driving me INSANE

I am opening .html files in excel (they have the extension .xls, but contain HTML tables). Some of the values in these files are things like "1-5" which Excel is happily converting to "January 5th"

Because these are HTML files I cannot use the import data function to specify the column format as "text" and prevent this implicit conversion. Is there ANY way to make excel treat ALL the fields as text rather than happily assuming that my data values (which are actually ranges, eg 1cm-5cm but displayed as 1-5) are dates?

I've been an IT professional for 10+ years and this problem has me beating my head against the wall
Reply With Quote
  #2 (permalink)  
Old 12-15-08, 12:32
blm14 blm14 is offline
Registered User
 
Join Date: Dec 2001
Posts: 21
anyone? Any help appreciated...
Reply With Quote
  #3 (permalink)  
Old 12-16-08, 12:16
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
Try opening them in a text editor, and then saving them as text files. You can then use the Import wizard to format the data to your heart's content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On