By defining the number format for each of your columns, you can avoid
these problems.  I frequently use VBA to update CSV imports to correct
column formatting.  So your first example would be formatted as
0000000000.  Date you would select the "mm/dd/yyyy" format, etc.
 
Hope this helps.
 

Raymond P. Beyer

Provena Health - Corporate Business Office

Manager - System Applications and Account Maintenance

Phone (630) 914-2261    Fax (630) 914-2278 

[email protected] <mailto:[email protected]> 

This message and any attachments are confidential and may be protected
by legal privilege. If you are not the intended recipient, be aware that
any disclosure, copying, distribution or use of this message or any
attachment is prohibited. If you have received this message in error,
please notify us immediately by returning it to the sender and deleting
copy from your system. Thank you.

P Please consider the environment - only print if necessary

 

________________________________

From: [email protected] [mailto:[email protected]] 
Sent: Thursday, July 15, 2010 1:55 PM
To: [email protected]
Subject: [talkbws] Working with CSV files



I've noticed that CSV files, when opened, will modify the displayed
value to a more simplified value. For example 4409354237 will display as
4.41E+09 and 05/02/1999 will display as 5/2/1999. Occasionally long
values will display as ########. When using Datastation it uses the
displayed value instead of the raw value. I thought that putting quotes
around each value in the file would force it to treat everything as text
but no luck. I can do a workaround but I am hopeful that there is an
Excel setting that I can use instead.

 

 

 

Chad Kemp

Information Systems Analyst

Firelands Regional Medical Center

419-557-7874

 

---  To post a message to this list, send mail to: [email protected]
You are currently subscribed as: [email protected]
Unsubscribe in the customer center on our website:
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk
.aspx   

---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

Reply via email to