R
RayD
Hello everyone,
I had a tremendous amount of help with this macro in the last couple of days
from many experts here in this group, but as luck would have it, it does not
work with conditional formatting (CF). I did not state this in the
beginning... The question becomes is it possible to get this macro to work
with conditional formatting (CF), and.... how does one get there (if
possible)?? - ....Thanks
Sub Macro1()
Sheets("Sheet2").Range("2:2000").Clear
Sheets("Sheet2").Range("2:2000").RowHeight = 12.75
For Each c In [$H$5:$H$2000]
x = Sheets("sheet2").Cells(65536, 1).End(xlUp).Row + 1
If c.Interior.ColorIndex = 3 Then
c.EntireRow.Copy Sheets("sheet2").Cells(x, 1)
End If
Next
End Sub
...Ray
I had a tremendous amount of help with this macro in the last couple of days
from many experts here in this group, but as luck would have it, it does not
work with conditional formatting (CF). I did not state this in the
beginning... The question becomes is it possible to get this macro to work
with conditional formatting (CF), and.... how does one get there (if
possible)?? - ....Thanks
Sub Macro1()
Sheets("Sheet2").Range("2:2000").Clear
Sheets("Sheet2").Range("2:2000").RowHeight = 12.75
For Each c In [$H$5:$H$2000]
x = Sheets("sheet2").Cells(65536, 1).End(xlUp).Row + 1
If c.Interior.ColorIndex = 3 Then
c.EntireRow.Copy Sheets("sheet2").Cells(x, 1)
End If
Next
End Sub
...Ray