PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Crashes Open csv files drops preceeding zeros

Reply

Open csv files drops preceeding zeros

 
Thread Tools Rate Thread
Old 11-11-2004, 10:10 PM   #1
=?Utf-8?B?QWxhbiBHcmVzaGFt?=
Guest
 
Posts: n/a
Default Open csv files drops preceeding zeros


I exported a table from MSAccess in a csv format. Originally I blamed Access
for the problem. When opening the csv in Excel all of the preceeding zeros in
the PartNumber and CheckNumber fields had disappeared.

I then opened notepad and opened the same csv file and the zeros were still
there.
How can I save the file so that the zeros remain in Excel

Thanx in advance
Alan Gresham
  Reply With Quote
Old 12-11-2004, 10:22 AM   #2
Jamie Collins
Guest
 
Posts: n/a
Default Re: Open csv files drops preceeding zeros

Alan Gresham <AlanGresham@discussions.microsoft.com> wrote ...

> I exported a table from MSAccess in a csv format. Originally I blamed Access
> for the problem. When opening the csv in Excel all of the preceeding zeros in
> the PartNumber and CheckNumber fields had disappeared.
>
> I then opened notepad and opened the same csv file and the zeros were still
> there.
> How can I save the file so that the zeros remain in Excel


It's more a question of how you *open* the file in Excel. For a manual
approach, try Data, Import External Data, Import Data. The once you
have selected delimited and specified the delimiting character, you
can choose the data type for each column.

Jamie.

--
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off