?
Solved

color for columns

Posted on 2009-05-12
6
Medium Priority
?
270 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 7

Assisted Solution

by:Jonah11
Jonah11 earned 600 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 600 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 900 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Suggested Courses

777 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