- Katılım
- 20 Nisan 2005
- Mesajlar
- 189
herkese kolay gelsin aşağıdaki formülü bana yorumlayabilirmisiniz satır satır nedemek istiyor.teşekkürler
Sub ayiklama()
Range("j2:l65536").ClearContents
ason = WorksheetFunction.CountA([a1:a65536])
bson = WorksheetFunction.CountA([e1:e65536])
c = 1
For a = 2 To ason
aktar = 1
For b = 2 To bson
If Cells(a, 1) = Cells(b, 5) And Cells(a, 2) = Cells(b, 6) Then aktar = 0
Next b
If aktar = 1 Then
c = c + 1
For x = 10 To 12
Cells(c, x) = Cells(a, x - 9)
Next x
End If
Next a
End Sub
Sub ayiklama()
Range("j2:l65536").ClearContents
ason = WorksheetFunction.CountA([a1:a65536])
bson = WorksheetFunction.CountA([e1:e65536])
c = 1
For a = 2 To ason
aktar = 1
For b = 2 To bson
If Cells(a, 1) = Cells(b, 5) And Cells(a, 2) = Cells(b, 6) Then aktar = 0
Next b
If aktar = 1 Then
c = c + 1
For x = 10 To 12
Cells(c, x) = Cells(a, x - 9)
Next x
End If
Next a
End Sub