Ekteki dosyayı inceleyip yardımcı olurmusunuz.
Ekli dosyalar
-
40.5 KB Görüntüleme: 51
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
k = 11
Cells.Interior.Color = xlNone
Son = [f65536].End(3).Row
For i = 54 To Son
If Cells(i, "i") = 0 Then
Range(Cells(i, 11), Cells(i, Cells(i, "f") * 2 + 10)).Interior.Color = vbRed
Else
Range(Cells(i, k), Cells(i, (Cells(i, "f") * Cells(i, "i")) * 2 + k - 1)).Interior.Color = vbRed
End If
k = k + Cells(i, "i") * 2
Next
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
k = 11
Cells.Interior.Color = xlNone
Son = [f65536].End(3).Row
For i = 54 To Son
If Cells(i, "i") = 0 Then
Range(Cells(i, 11), Cells(i, Cells(i, "f") * 2 + 10)).Interior.ColorIndex = Int((56 * Rnd) + 1)
Else
Range(Cells(i, k), Cells(i, (Cells(i, "f") * Cells(i, "i")) * 2 + k - 1)).Interior.ColorIndex = Int((56 * Rnd) + 1)
End If
k = k + Cells(i, "i") * 2
Next
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
k = 11
Cells.Interior.Color = xlNone
Son = [f65536].End(3).Row
For i = 54 To Son
If Cells(i, "i") = 0 Then
Range(Cells(i, 11), Cells(i, Cells(i, "h") * 2 + 10)).Interior.ColorIndex = Int((56 * Rnd) + 1)
Else
Range(Cells(i, k), Cells(i, (Cells(i, "h")) * 2 + k - 1)).Interior.ColorIndex = Int((56 * Rnd) + 1)
End If
k = k + Cells(i, "i") * 2
Next
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
k = 11
Cells.Interior.Color = xlNone
Son = [f65536].End(3).Row
For i = 54 To Son
If Cells(i, "i") = 0 Then
Range(Cells(i, 11), Cells(i, Cells(i, "h") * 2 + 10)).Interior.ColorIndex = Int((56 * Rnd) + 1)
ElseIf Cells(i - 1, "i") = 0 Then
Range(Cells(i, Cells(i, "h") * 2 + 10), Cells(i, (Cells(i, "h")) * 4 + 10)).Interior.ColorIndex = Int((56 * Rnd) + 1)
Else
Range(Cells(i, k), Cells(i, (Cells(i, "h")) * 2 + k - 1)).Interior.ColorIndex = Int((56 * Rnd) + 1)
End If
k = k + Cells(i, "i") * 2
Next
End Sub