Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Mark
I read your post incorrectly. This removes the values of those cells which are yellow in Column A. Change the column to suit. Marcus Sub DeleteYellow() Dim Lw As Long Application.ScreenUpdating = False Lw = Range("A" & Rows.Count).End(xlUp).Row For i = Lw To 2 Step -1 If Range("A" & i).Interior.ColorIndex = 6 Then Range("A" & i).Value = "" End If Next i End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need to delete the values in some cells, | Excel Worksheet Functions | |||
Delete only specific fill colored rows? | Excel Worksheet Functions | |||
Macro do delete values in cells | Excel Discussion (Misc queries) | |||
delete values in cells | Excel Programming | |||
Cell right next to colored cells is automatically colored on entering a value | Excel Programming |