#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default OpenText

Hello,
OpenText seems to always drop trailing zeros off of decimal numbers when
opening a text file.

My text file has decimal numbers that represent two dimensional sequetial
numbering, so 1.1 thru 1.10 will result in (2) 1.1's and no 1.10's
Is there a way to preserve the number in text format when using OpenText?
--
Thanks,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default OpenText

You have to import the fields in question as text. The data type argument
in the FieldInfo for each such field must be a 2, e.g. Array(1, 2), as you
can see by looking at help for the OpenText method.

--
Jim
"Mike Archer" wrote in message
...
| Hello,
| OpenText seems to always drop trailing zeros off of decimal numbers when
| opening a text file.
|
| My text file has decimal numbers that represent two dimensional sequetial
| numbering, so 1.1 thru 1.10 will result in (2) 1.1's and no 1.10's
| Is there a way to preserve the number in text format when using OpenText?
| --
| Thanks,
| Mike


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenText Method JH Excel Programming 2 August 24th 05 11:42 PM
opentext command Ramesh Narasimhan Excel Programming 1 August 10th 05 11:48 AM
opentext banavas[_13_] Excel Programming 3 June 28th 04 02:25 PM
After OpenText all pastes from external apps use format from OpenText Jim[_31_] Excel Programming 1 November 8th 03 02:17 AM
OpenText bug ? Orlando Magalhães Filho Excel Programming 0 August 1st 03 04:14 AM


All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"