3 Koşullu uyarı hk.

AdemCan

Altın Üye
Destek Ekibi
Katılım
1 Eylül 2008
Mesajlar
1,363
Excel Vers. ve Dili
2019 TR
Merhaba Sn. manisali451;
Şu şekilde değiştirip dener misiniz?
Boş dosyada rastgele hücreleri doldurarak denedim ve koşula uyan hücreleri renklendiriyor.
Kod:
For x = 6 To 106

If Cells(x, "A").Value <> Empty Then
If Cells(x, "A").Offset(0, 4).Value = "" Then Cells(x, "A").Offset(0, 4).Interior.Color = 255
If Cells(x, "A").Offset(0, 9).Value = "" Then Cells(x, "A").Offset(0, 9).Interior.Color = 255
If Cells(x, "A").Offset(0, 4).Value = "" Then MsgBox "DOLDURMADIĞINIZ HÜCRELER VAR", vbCritical, "UYARI"
If Cells(x, "a").Offset(0, 9).Value = "" Then MsgBox "DOLDURMADIĞINIZ HÜCRELER VAR", vbCritical, "UYARI"
End If

If Cells(x, "E").Value <> Empty Or Cells(x, "J").Value <> Empty Then
If Cells(x, "E").Offset(0, -4).Value = "" Then Cells(x, "E").Offset(0, -4).Interior.Color = 255
If Cells(x, "J").Offset(0, -9).Value = "" Then Cells(x, "J").Offset(0, -9).Interior.Color = 255

End If
Next x
 
Katılım
28 Ocak 2010
Mesajlar
92
Excel Vers. ve Dili
Office 2003
Office 2007
Merhaba Sn. manisali451;
Şu şekilde değiştirip dener misiniz?
Boş dosyada rastgele hücreleri doldurarak denedim ve koşula uyan hücreleri renklendiriyor.
Kod:
For x = 6 To 106

If Cells(x, "A").Value <> Empty Then
If Cells(x, "A").Offset(0, 4).Value = "" Then Cells(x, "A").Offset(0, 4).Interior.Color = 255
If Cells(x, "A").Offset(0, 9).Value = "" Then Cells(x, "A").Offset(0, 9).Interior.Color = 255
If Cells(x, "A").Offset(0, 4).Value = "" Then MsgBox "DOLDURMADIĞINIZ HÜCRELER VAR", vbCritical, "UYARI"
If Cells(x, "a").Offset(0, 9).Value = "" Then MsgBox "DOLDURMADIĞINIZ HÜCRELER VAR", vbCritical, "UYARI"
End If

If Cells(x, "E").Value <> Empty Or Cells(x, "J").Value <> Empty Then
If Cells(x, "E").Offset(0, -4).Value = "" Then Cells(x, "E").Offset(0, -4).Interior.Color = 255
If Cells(x, "J").Offset(0, -9).Value = "" Then Cells(x, "J").Offset(0, -9).Interior.Color = 255

End If
Next x
Sn. faye_efsane
Süper olmuş emeğinize sağlık.
 

AdemCan

Altın Üye
Destek Ekibi
Katılım
1 Eylül 2008
Mesajlar
1,363
Excel Vers. ve Dili
2019 TR
Merhaba, rica ederim :) iyi çalışmalar.
 
Üst