Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default color formatting based on 12 conditions

Need help
Like to create a user function to color the fill based on a text character in a range (B2:af37)
P = color
F = color
S = color
V and 4 = color 3
W = color 3
C = color 4
M = color 4
T = color
B = color 4
H = color 3
J = color 3
Thanks for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default color formatting based on 12 conditions

Hi
a user defined function (which is invoked in the worksheet) can't do
this. Reason: A worksheet formula can only return values but not change
formats.

For this you need an event procedure (e.g. using the worksheet_change
event)


--
Regards
Frank Kabel
Frankfurt, Germany

"scire" schrieb im Newsbeitrag
...
Need help.
Like to create a user function to color the fill based on a text

character in a range (B2:af37).
P = color 7
F = color 6
S = color 3
V and 4 = color 37
W = color 39
C = color 45
M = color 43
T = color 4
B = color 48
H = color 38
J = color 36
Thanks for your help.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help to change a cell color based on conditions Ken Excel Worksheet Functions 1 January 28th 10 09:29 AM
Conditional Formatting based on 2 conditions Still learning@work Excel Discussion (Misc queries) 3 April 7th 09 11:11 PM
How to set color for text based on conditions? Eric Excel Discussion (Misc queries) 2 October 12th 08 05:34 PM
Formatting based on text color Gohan51D Excel Worksheet Functions 0 March 8th 06 07:26 PM
Formatting Cells - color based AngelaG Excel Worksheet Functions 2 August 25th 05 03:35 AM


All times are GMT +1. The time now is 03:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"