Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() It still does not change color when I input the codes. Here is what I have in my sheet code, did I miss something? Thank you Private Sub Worksheet_Calculate() Dim rng As Range Application.ScreenUpdating = False For Each rng In Range("B7:B26") If rng.Value = "POI" Then rng.Interior.ColorIndex = 2 ElseIf rng.Value = "KFI" Then rng.Interior.ColorIndex = 3 ElseIf rng.Value = "EPT" Then rng.Interior.ColorIndex = 1 End If Next rng Application.ScreenUpdating = True End Sub -- november678x ------------------------------------------------------------------------ november678x's Profile: http://www.excelforum.com/member.php...o&userid=23641 View this thread: http://www.excelforum.com/showthread...hreadid=519433 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Conditional Formating / | Excel Worksheet Functions | |||
Word Formating & Words Adding | Excel Discussion (Misc queries) | |||
Install dates formating using conditional formating? | Excel Discussion (Misc queries) | |||
Conditional formating | Excel Programming | |||
Adding percentages in a column and automatic formating of contents | Excel Worksheet Functions |