DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Option Explicit
Sub FORM_NO_SORGULA()
Dim S1 As Worksheet, S2 As Worksheet, X As Long, Y As Long
Set S1 = Sheets("Kontrol")
Set S2 = Sheets("Data")
S1.Range("F4:G65536").ClearContents
For X = 4 To S1.Range("A65536").End(3).Row
For Y = 2 To S2.Range("A65536").End(3).Row
If S1.Cells(X, 1) <> "" Then
If S2.Cells(Y, "M") = S1.Cells(X, 1) Then
End If
If S1.Cells(X, 2) <> "" Then
If S2.Cells(Y, "R") = S1.Cells(X, 2) Then
End If
If S1.Cells(X, 3) <> "" Then
If S2.Cells(Y, "D") = S1.Cells(X, 3) Then
End If
If S1.Cells(X, 4) <> "" Then
If S2.Cells(Y, "N") = S1.Cells(X, 4) Then
End If
If S1.Cells(X, 5) <> "" Then
If S2.Cells(Y, "O") = S1.Cells(X, 5) Then
End If
S1.Cells(X, 6) = S2.Cells(Y, "B")
GoTo Son
End If: End If: End If: End If: End If
Next
Son:
If S1.Cells(X, 6) <> "" Then
S1.Cells(X, 7) = "Mevcut"
Else
S1.Cells(X, 7) = "Bulunamadı"
End If
Next
Set S1 = Nothing
Set S2 = Nothing
MsgBox "İşleminiz tamamlanmıştır.", vbInformation
End Sub