PC Review


Reply
Thread Tools Rate Thread

Data import gives the wrong values: bad text format?

 
 
Peter Baute
Guest
Posts: n/a
 
      9th Sep 2004
Hello!

I have to work with a tool to export data from an oracle database to *.txt,
*.html or *.xls. HTML and TXT are working fine but in Excel I have problems
concerning numerical values. A number 1234.56 will appear as 123456 or
123456.00. As a workaround I can press F2 (edit cell) and then ENTER which
is like a substitution by itself. The value will be correct then. (But in
tests this worked only with a non-saved file.) As a workaround I tried to
write a vba routine (like: x=cell.value, cell.value=x) but this didn't work
either.

Can anybody help me on this topic?

Thanks in advance!
Peter


 
Reply With Quote
 
 
 
 
Earl Kiosterud
Guest
Posts: n/a
 
      9th Sep 2004
Peter,

It's probably just a formatting issue. Excel loves to format your columns
for you. Check out www.smokeylake.com/excel/textfiles.htm. Read about
opening and importing text files.

--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"Peter Baute" <(E-Mail Removed)> wrote in message
news:chqdqd$7gr$01$(E-Mail Removed)...
> Hello!
>
> I have to work with a tool to export data from an oracle database to

*.txt,
> *.html or *.xls. HTML and TXT are working fine but in Excel I have

problems
> concerning numerical values. A number 1234.56 will appear as 123456 or
> 123456.00. As a workaround I can press F2 (edit cell) and then ENTER which
> is like a substitution by itself. The value will be correct then. (But in
> tests this worked only with a non-saved file.) As a workaround I tried to
> write a vba routine (like: x=cell.value, cell.value=x) but this didn't

work
> either.
>
> Can anybody help me on this topic?
>
> Thanks in advance!
> Peter
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong import of float data from a text files Maurizio Bellantone Microsoft Excel Discussion 1 29th Apr 2009 08:38 PM
Import from non-MS program, data in plain text format =?Utf-8?B?TWFydGluIEphbWVzIFRob3JuaGlsbA==?= Microsoft Outlook Installation 1 18th Jul 2005 01:20 AM
Data import gives the wrong values: bad text format? Peter Baute Microsoft Excel Programming 1 11th Sep 2004 03:16 AM
Data import gives the wrong values: bad text format? Peter Baute Microsoft Excel Misc 1 9th Sep 2004 10:33 PM
Cell format wrong on import from HTML: text becomes scientific notation integer Jim Rech Microsoft Excel Misc 2 4th Sep 2004 01:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:32 AM.