Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a function that does some calculations and returns some text. Now if
the text is one thing I want to change the text color to red. If it is something else, change it to green, else leave it as is. I have some psuedo code below to sort of show what I am looking for. My problem is how to reference the cell that this function is being called from. Function CalculateSchedule(budget As String, actual As String) As String 'do calculations if behind text=red elseif ahead text=green else return text with no color End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to make text to change its color accord. to selection from a l | Excel Discussion (Misc queries) | |||
Formulas dealing with text data | Excel Worksheet Functions | |||
text color change in cell reference | Excel Discussion (Misc queries) | |||
Excel should allow me to change text color & font within tabs. | Excel Discussion (Misc queries) | |||
automatic color change in cells using a drop down list | Excel Worksheet Functions |