Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2007

Tip: Looking for answers? Try searching our database.

CSV File format problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
plmanikandan@gmail.com - 14 Feb 2007 17:16 GMT
Hi,
I have a .csv file with following data

No,Name
0001,ii
0002,ww

I need to change the csv file in excel and insert into a database thru
my c# programs.
The "No" column is rounded off when i opened in excel and it is shown
as 1.
Is there any settings to change this type of behaviour
I want to display that "No" column as text in excel by default.
I don't want the trimming of zero in the "No" column

Thanks & Regards,
Mani
Beege - 14 Feb 2007 17:21 GMT
> Hi,
> I have a .csv file with following data
[quoted text clipped - 13 lines]
> Thanks & Regards,
> Mani

 Rename your .csv to .txt, import into excel, format No column as
text... HTH

Beege
Thomas Hardy - 14 Feb 2007 18:48 GMT
>> Hi,
>> I have a .csv file with following data
[quoted text clipped - 18 lines]
>
> Beege

Spot on Beege,

It is a weakness in Excel that it makes assumptions about your data, even in
some cases when you clearly define a cell as text.

I always download data from other systems with the .txt extension so that I
can keep some level of control.

Regards

Thomas
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.