- Katılım
- 6 Kasım 2005
- Mesajlar
- 300
dosya ektedir...kolay gelsin...
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
=EĞER(DÜŞEYARA(A1;Sayfa1!$A$1:$B$23;2;0)=0;"";EĞER(EYOKSA(DÜŞEYARA(A1;Sayfa1!$A$1:$B$23;2;0));"";DÜŞEYARA(A1;Sayfa1!$A$1:$B$23;2;0)))
Sub aktar()
Dim k As Range
Set s2 = Sheets("Sayfa2")
Sheets("Sayfa1").Select
Application.ScreenUpdating = False
s2.Range("B1:B65536").ClearContents
For i = 1 To Cells(65536, "B").End(xlUp).Row
If Cells(i, "B").Value <> "" Then
Set k = s2.Range("A1:A65536").Find(Cells(i, "A").Value, , xlValues, xlWhole)
s2.Cells(k.Row, "B").Value = Cells(i, "B").Value
End If
Next i
Application.ScreenUpdating = True
MsgBox "Aktarma tamamlandı..!!"
End Sub
Sub KARŞILAŞTIR_YAZ()
For X = 1 To [A65536].End(3).Row
Set BUL = Sheets("Sayfa2").[A:A].Find(Cells(X, 1), LookAt:=xlWhole)
If Not BUL Is Nothing Then
Sheets("Sayfa2").Cells(BUL.Row, 2) = Cells(X, 2)
End If
Next
Set BUL = Nothing
MsgBox "İŞLEMİNİZ TAMAMLANMIŞTIR.", vbInformation
End Sub
Sub KARŞILAŞTIR_YAZ()
For X = 1 To [A65536].End(3).Row
Set BUL = Sheets("Sayfa2").[A:A].Find(Cells(X, 1), LookAt:=xlWhole)
If Not BUL Is Nothing Then
Sheets("Sayfa2").Cells(BUL.Row, 2) = Cells(X, 2)
End If
Next
Set BUL = Nothing
MsgBox "İŞLEMİNİZ TAMAMLANMIŞTIR.", vbInformation
End Sub
Option Explicit
Sub KARŞILAŞTIR_YAZ()
Dim X As Integer, BUL As Range, ADRES As String
Dim S1 As Worksheet, S2 As Worksheet
Set S1 = Sheets("Sayfa1")
Set S2 = Sheets("Sayfa2")
For X = 1 To S1.[A65536].End(3).Row
Set BUL = S2.[A:A].Find(S1.Cells(X, 1), LookAt:=xlWhole)
If Not BUL Is Nothing Then
ADRES = BUL.Address
Do
S2.Cells(BUL.Row, 2) = S1.Cells(X, 2)
Set BUL = S2.[A:A].FindNext(BUL)
Loop While Not BUL Is Nothing And BUL.Address <> ADRES
End If
Next
Set BUL = Nothing
Set S1 = Nothing
Set S2 = Nothing
MsgBox "İşleminiz tamamlanmıştır.", vbInformation
End Sub