Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rename the file as .Txt and use the Text import wizard to mark the column
(last dialog) as Text. You can turn on the macro recorder and get the settings so you don't have to go through the wizard each time, however the file has to be named .txt - if it is .csv, most versions of Excel will ignore your settings. -- Regards, Tom Ogilvy ptrowe wrote in message ... I am using VBA to open a CSV file. The file has a column with part numbers which are all numeric but some start with 0. I have placed double-quotes around the data but it still importing it into Excel with the leading zero missing. How do I get it to import with the leading zero still there? ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
opening a file in Excel starts application but dose not open file | Excel Discussion (Misc queries) | |||
Opening file in Excel 2003 opens multipule instances of same file | Excel Discussion (Misc queries) | |||
File:1 and File:2 -- Double Files when Opening One File | Excel Discussion (Misc queries) | |||
opening an excel file opens a duplicate file of the same file | Excel Discussion (Misc queries) | |||
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. | Charts and Charting in Excel |