DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub RenkSiyahMı()
If Range("A1").Interior.ColorIndex = 1 Then
Range("A2:A10").Interior.ColorIndex = 1
Else
Range("A2:A10").Interior.ColorIndex = xlNone
End If
End Sub
Sub SiyahYap()
If Range("A1").Interior.ColorIndex = 1 Then
For i = 2 To 10
Range("A" & i).Interior.ColorIndex = 1
Next i
End If
End Sub
else deyip beyaz ise hepsi beyaz olsun nasıl olabilir hocam
If [a1].Interior.ColorIndex = 1 Then
[a2:a10].Interior.ColorIndex = 1
Else:
[a1:a10].Interior.ColorIndex = xlNone
End If
Ben bir taraftan tv izlerken çoktan yanıtlar gelmiş![]()
Sub Renk()
Dim i As Long
Dim a, j, k As Integer
Sheets("Tasarım").Select
For i = 5 To [B65536].End(3).Row Step 4
For a = 2 To 9
For j = 0 To 3
If Cells(i + j, a).Interior.ColorIndex = 1 Then
k = i + 3
Range(Cells(i + j, a), Cells(k, a)).Interior.ColorIndex = 1
Exit For
End If
Next j
Next a
Next i
End Sub
[COLOR=darkred]If Cells(i + j, a).Interior.ColorIndex = 1 Then[/COLOR]