Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Geir Holme
 
Posts: n/a
Default Save as .csv file removes trailing 00

Hi all.
I have a XL sheet with one column containing tekst and values. It is
partnumbers. Some of these starts with trailing nulls (the number 0). Like
00AB25 or 00056P-SDF.

It is populated from SQL Server 2000 varchar(30) field.

When I save as .csv file XL removes the trailing 0's and the partnumber in
the csv file changes to AB25 and 56P-SDF. Any ideas how to avoid this?


thanx.

geir


  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

If you save as a TEXT file (instead of CSV), using a comma as the delimiter
and double quotes as the text delimiter, it should have an extension of TXT
rather than CSV. Now when you open the file, the Text Import Wizard will come
up and you can specify that this column is to be treated as Text.

On Fri, 9 Sep 2005 16:38:43 +0200, "Geir Holme" wrote:

Hi all.
I have a XL sheet with one column containing tekst and values. It is
partnumbers. Some of these starts with trailing nulls (the number 0). Like
00AB25 or 00056P-SDF.

It is populated from SQL Server 2000 varchar(30) field.

When I save as .csv file XL removes the trailing 0's and the partnumber in
the csv file changes to AB25 and 56P-SDF. Any ideas how to avoid this?


thanx.

geir

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
save .csv file to .sdf file deniseh Excel Discussion (Misc queries) 3 August 10th 05 01:08 PM
why cant i see .csv as save file type Adie Excel Discussion (Misc queries) 3 July 19th 05 06:42 PM
can i save an existing .xls file as a .csv file using command line craigkan Excel Discussion (Misc queries) 2 February 18th 05 02:01 PM
.CSV file format - comma or semi-colon? bavjean Excel Worksheet Functions 5 November 12th 04 12:26 PM
.CSV file format - comma or semi-colon antifashionpimp Excel Worksheet Functions 1 November 10th 04 01:18 PM


All times are GMT +1. The time now is 02:06 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"