Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Import .csv (leading zero suppression not desired)

If you specify "text" for that column, it will import the leading zero and
leave the format of the column as text.

If you're looking for a way to automate it, check the online VBA help for
the OpenText method, and in particular, the FieldInfo parameter, which
specifies how to treat each column.
--
HTH -

-Frank
Microsoft Excel MVP
Dolphin Technology Corp.
http://vbapro.com


"Ned Fields" wrote in message
...
Is there a switch/option, where I can tell Excel not to
suppress leading zero's from columns imported via a .csv
file, without going through the import text/csv process,
selecting text vs number for each column/field ?

Thanks in advance,
Sincerely,
Ned Fields



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
Blank Suppression Mike Copeland Excel Discussion (Misc queries) 3 July 6th 11 04:59 PM
how to drop leading zero in 0.700? desired result is .700 KenK Excel Discussion (Misc queries) 2 October 19th 08 05:59 AM
Import a txt file with text fields that have meaningful leading sp Muehe Excel Discussion (Misc queries) 2 April 3rd 08 11:48 PM
Add leading 0 to csv import text/time H:MM Mic Excel Discussion (Misc queries) 6 June 13th 07 01:51 AM
Zero Suppression Irene Excel Discussion (Misc queries) 4 June 24th 05 10:21 PM


All times are GMT +1. The time now is 06:43 PM.

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"