Sub test()
On Error Resume Next
For Each TmpRng In UsedRange
If TmpRng.Interior.ColorIndex = 6 Then
TmpRng.Interior.ColorIndex = 0
TmpRng.Offset(2, -1).Interior.ColorIndex = 6
End If
Next
End Sub
Sub foo()
Dim rng As Range, c As Range
Application.ScreenUpdating = False
Set rng = ActiveSheet.UsedRange
For Each c In rng
If c.Interior.Color = 65535 Then
c.Offset(2, -1).Value = c.Value
c.Value = ""
c.Interior.Pattern = xlNone
End If
Next c
Application.ScreenUpdating = True
End Sub