![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 30
|
I am trying to import a ":" delimited text file that contains numbers with 8 place precision (ie 1020968588.84471624).
Using Text File Inport Wizard, the numbers are rounded to 5 places. I will eventually be using a QueryTable VBA function Tks |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
When you use the wizard, on the 2nd or 3rd step, import these columns as text. Excel will import them without loss of precision (although they will no longer be "numbers").
There will be no way to use more than 15 digits in a worksheet cell (IEEE standards used by Excel), but in VBA changing the text to decimals (use CDec) will allow you to calculate with up to 28 digits of precision, although you can still only return 15 to Excel proper. HTH, Jay |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 30
|
Thanks for the quick responce, Jay
Haven't tried it yet, but if I can get it in, I can do whatever.... Thanks again... |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|