Hi could anyone change or add to the following macro
I would like it to also copy the cell colours which are created by condition format, but not copy the rules, just the colours
I would like it to also copy the cell colours which are created by condition format, but not copy the rules, just the colours
VBA Code:
Sub Copy_to_book()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Dim i As Long
Dim lastRow As Long
For i = 1 To 101
With Sheets(CStr(i))
If LCase(.Range("vZ2").Value) = "yes" Then
lastRow = Workbooks("Book1").Sheets("CARDS").Cells(Rows.Count, "A").End(xlUp).Row + 1
Workbooks("Book1").Sheets("CARDS").Range("A" & lastRow & ":ET" & lastRow + 74).Value = .Range("A1:ET75").Value
End If
End With
Next i
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub