after highlighting the cells based on criteria explained here: http://www.excelforum.com/excel-gene...lc-filled.html
i need to delete or select the highlighted cells
how can I accomplish that?
I tried using a macro without success...any feedback?
Sub DELETEDHIGHLIGHTED()
'
' DELETEDHIGHLIGHTED Macro
'
'
For Each Cell In Range("K1:K5172")
If Cell.Interior.ColorIndex = 1 Then 'highlight colour is black
Cell.Offset(, -1) = "X"
End If
Next Cell
End Sub
Bookmarks