DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub renksizlistele()
[g2:g65536].ClearContents
For a = 1 To [a65536].End(3).Row
If Cells(a, "a").Interior.ColorIndex = xlNone Then
c = c + 1
Cells(c + 1, "g") = Cells(a, "a")
End If
Next
End Sub
Sub renksizlistele()
[g2:j65536,m2:m65536].ClearContents
For Each hucre In Range("a2:d" & [a65536].End(3).Row)
If hucre.Interior.ColorIndex = xlNone Then
sut = hucre.Column + 6
sat = Cells(65536, sut).End(3).Row + 1
Cells(sat, sut) = hucre
sat1 = hucre.Row
say = WorksheetFunction.CountIf(Range("a" & sat1 & ":d" & sat1), hucre)
If say = 4 Then Cells(sat, "m") = hucre
End If
Next
End Sub
Sub renksizlistele()
[g2:j65536,m2:m65536].ClearContents
For Each hucre In Range("a2:d" & [a65536].End(3).Row)
say = WorksheetFunction.CountIf(Range("m2:m65536"), hucre)
If renkkontrol(hucre.Row, hucre) = False And say = 0 Then
Cells(65536, "m").End(3).Offset(1, 0) = hucre
End If
If hucre.Interior.ColorIndex = xlNone Then
sut = hucre.Column + 6
sat = Cells(65536, sut).End(3).Row + 1
Cells(sat, sut) = hucre
End If
Next
End Sub
Function renkkontrol(sat, hucre) As Boolean
say = WorksheetFunction.CountIf(Range("a" & sat & ":d" & sat), hucre)
If say <> 4 Then GoTo 20
For a = 1 To 4
If Cells(sat, a).Interior.ColorIndex <> xlNone Then GoTo 20
Next
10 renkkontrol = False
Exit Function
20 renkkontrol = True
End Function