Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text color in Excel

Status
Not open for further replies.

vvlad

Programmer
May 27, 2002
151
DE
Is there a way to change the text color with a formula/function?

If I write
=(3+2)
the cell will display 5.

Is there such thing like
=colour(blue)?

Thanks.

vlad
 
nope - best bet is to look into conditional formatting.

Rgds, Geoff

Three things are certain. Death, taxes and lost data. DPlank is to blame

Please read FAQ222-2244 before you ask a question
 

You could write a VBA function that combined the formula you want in the cell with a line to change the colour of the text in the cell


I love deadlines. I like the whooshing sound they make as they fly by
Douglas Adams
(1952-2001)
 
Thanks for answering, I was afraid of that.

I can not use conditional formatting nor VBA as I export a text file to Excel. I wanted to have some lines automatically formated when a user opens the new file in Excel.


vlad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top