Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi everybody,
It is possible to change the color index of a cell with error 2015 (#VALUE!)? if I get this error-cells colored with orange, then I can check the values of the rest, somehow is stopping on the ones with errors. All cells I'm checking are colored yellow, I'm ignoring the rest. Thanks for any help sub CheckValue () For Each c In Range("E17", "CE44") If c.Interior.ColorIndex = 6 And _ c.Value = CVErr(xlErrValue) Then c.Interior.ColorIndex = 44 ElseIf c.Interior.ColorIndex = 6 And _ c.Value 9999 Then c.Interior.ColorIndex = 44 c.FormatNumber = "0.00" End If Next End Sub gaba :) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lock cell based on a condition | Excel Worksheet Functions | |||
Condition based on cell colour | Excel Worksheet Functions | |||
Is there a way to delete a cell value based on a condition? | Excel Discussion (Misc queries) | |||
Fill a cell based on a condition being met | Excel Worksheet Functions |