Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Ctect
this should work Sub b() Dim p As Double p = 0 For Each cell In Selection On Error Resume Next If cell.Interior.ColorIndex = 36 Then If IsNumeric(cell) Then p = p + cell.Value End If End If Next cell end sub Regards Yngve |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lock cells based on interior color | Excel Discussion (Misc queries) | |||
interior color of a cell | Excel Programming | |||
Passing Back Color to Interior Color | Excel Programming | |||
oRange.Interior.Color | Excel Programming |