I have the following Macro (below) copies red cells and pastes special however when the cells are red by conditional formatting it doesn't work, is there a way around this? Are all conditional formatting not picked up by the cell properties?
My Code is
Sub colourtest()
Dim Cell As Range
For Each Cell In Selection
If Cell.Interior.ColorIndex = 3 Then
Cell.Copy
Cell.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
End If
Next Cell
End Sub
My Code is
Sub colourtest()
Dim Cell As Range
For Each Cell In Selection
If Cell.Interior.ColorIndex = 3 Then
Cell.Copy
Cell.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
End If
Next Cell
End Sub