Sub Macro1()
Dim pl1 As Range
Dim pl2 As Range
Dim cel As Range
Dim dest As Range
Set pl1 = Range("B3:C" & Cells(Application.Rows.Count, 1).End(xlUp).Row)
Set pl2 = Range("D3:E" & Cells(Application.Rows.Count, 1).End(xlUp).Row)
For Each cel In pl1
If cel.Interior.ColorIndex <> xlNone Then
Set dest = Cells(Application.Rows.Count, 8).End(xlUp).Offset(1, 0)
dest.Value = Cells(cel.Row, 1).Value
dest.Offset(0, 1).Value = Cells(1, cel.Column).MergeArea.Value
dest.Offset(0, 1).NumberFormat = "dd/mm/yyyy"
dest.Offset(0, 2).Value = Cells(2, cel.Column)
cel.Copy dest.Offset(0, 3)
End If
Next cel
For Each cel In pl2
If cel.Interior.ColorIndex <> xlNone Then
Set dest = Cells(Application.Rows.Count, 8).End(xlUp).Offset(1, 0)
dest.Value = Cells(cel.Row, 1).Value
dest.Offset(0, 1).Value = Cells(1, cel.Column).MergeArea.Value
dest.Offset(0, 1).NumberFormat = "dd/mm/yyyy"
dest.Offset(0, 2).Value = Cells(2, cel.Column)
cel.Copy dest.Offset(0, 3)
End If
Next cel
End Sub