Solved

color for columns

Posted on 2009-05-12
6
264 Views
Last Modified: 2012-05-06
How can I color code the columns in csv file and make it save it too.
thanks
0
Comment
Question by:syedasimmeesaq
6 Comments
 
LVL 7

Assisted Solution

by:Jonah11
Jonah11 earned 200 total points
ID: 24368653
Hi,

Can you clarify your question?  What are you trying to do?  Output the contents of a csv file as html?  A csv is just plain text... so your question isn't clear.
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 24368690
well csv is just a text file. But you can open that in excel. However due to large data, I can not use excel, .xls. I have a need to color code a column in blue and I was wondering about a way to do it when clients open the csv file with excel. But CSV doesnt let you do that and I wanted a trick to do that if there is any.
Thanks
0
 
LVL 7

Assisted Solution

by:Jonah11
Jonah11 earned 200 total points
ID: 24368829
ah i see.   i am no excel expert, but i do know meta-data like column colors is stored in the xls propriety file.  that is, if you color a column blue and save it as a .csv, excel warns you that some info will be lost.  if you save anyway and then reopen it, you'll see the color is gone.  also you above post is unclear to me: if you cannot use excel to open the file because its too large, how are the clients going to open the csv with excel?

regardless of your answer to that tho, i am pretty sure there is no way to store color meta-data in a csv file.  you'd need to use xls or something else.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 24368890
I know, and thats why I am asking for a trick or a third party software that will do that.
Thanks
0
 
LVL 7

Accepted Solution

by:
ycTIN earned 300 total points
ID: 24370814
Hi syedasimmeesaq,
setting format in csv is impossible. if you want export something to excel file with format, using html is most simple.

p.s. you can use xml format  too, but just supported in new version ms office

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_24391641.html?cid=236#a24334105
0
 
LVL 1

Expert Comment

by:somedudemanguy
ID: 24375824
Another program you could use would be MS access, which can deal with a ton of data.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now