DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
[FONT="Trebuchet MS"]Sub Emre()
Dim i%, a%, s1 As Worksheet, s2 As Worksheet
Set s1 = ThisWorkbook.Worksheets(1)
Set s2 = ThisWorkbook.Worksheets(2): a = 9
For i = 2 To s1.Range("B65536").End(3).Row
If s1.Cells(i, 2).Interior.ColorIndex = 43 Then
With s2
.Range("E2").Value = s1.Cells(i, 2)
.Range("E3").Value = s1.Cells(i, 3)
.Range("E4").Value = s1.Cells(i, 4)
.Range("E5").Value = s1.Cells(i, 5)
.Cells(a, 2).Value = s1.Cells(i, 6)
.Cells(a, 3).Value = s1.Cells(i, 7)
.Cells(a, 4).Value = s1.Cells(i, 8)
a = a + 1
End With
End If
Next i
Set s2 = Nothing: Set s1 = Nothing: a = Empty: i = Empty
End Sub[/FONT]