1903emre34@gmail.com
Altın Üye
- Katılım
- 29 Mayıs 2016
- Mesajlar
- 946
- Excel Vers. ve Dili
- Microsoft Excel 2013 Türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Renklendir()
Range("A:C").Interior.ColorIndex = xlNone
Son = Cells(Rows.Count, 1).End(3).Row
For X = 1 To Son
If Cells(X, 2) <> "" And IsNumeric(Cells(X, 2)) And Cells(X, 3) = "" Then
Cells(X, 1).Resize(1, 3).Interior.ColorIndex = 6
End If
Next
MsgBox "İşleminiz tamamlanmıştır.", vbInformation
End Sub
Sub numan()
Dim X As Long
Range("A3:B" & Rows.Count).Interior.ColorIndex = xlNone
For X = 3 To [A65350].End(3).Row
If UCase(Replace(Replace(Cells(X, "A"), "i", "İ"), "ı", "I")) Like "*VARLIKLAR*" Or UCase(Cells(X, "A")) Like "*.*" Or Range("C" & X).Value <> "" Then
Cells(X, 1).Resize(1, 2).Interior.ColorIndex = 0
Else
Cells(X, 1).Resize(1, 2).Interior.ColorIndex = 6
End If
Next
MsgBox "İşleminiz tamamlanmıştır.", vbInformation
End Sub
Sub uygun_olanlari_renklendir()
Dim sh As Worksheet, ss As Long, hcr As Range, alan As Range, regexp, veri
Set sh = Sayfa1
ss = sh.Range("A" & Rows.Count).End(3).Row
Set alan = sh.Range("A3:A" & ss)
sh.Range("A:C").Interior.ColorIndex = xlNone
Set regexp = CreateObject("VBScript.RegExp")
regexp.Global = True
regexp.Pattern = "(Varlıklar|VARLIKLAR|varlıklar|[i.\ıI].+)"
For Each hcr In alan
If regexp.test(hcr) = False Then
If (hcr.Offset(, 2)) <> "Doğru" And (hcr.Offset(, 2)) <> "Yanlış" Then
sat = hcr.Row
sh.Range("A" & sat & ":C" & sat).Interior.ColorIndex = 6
End If
End If
Next hcr
End Sub