DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
[FONT="Arial Narrow"]Sub TEKLERİ_AKTAR_BRN()
Dim s3, f, b As Worksheet
Set s3 = Sheets("Sayfa3"): Set f = Sheets("Fazlalık"): Set b = Sheets("Bizimki")
Application.ScreenUpdating = False: Application.Calculation = xlCalculationManual
s3.Columns("A:B").ClearContents
s3.Cells(1, 1) = "ID": s3.Cells(1, 2) = "CÜMLE"
For fsat = 1 To 100 'f.[A65536].End(3).Row
If WorksheetFunction.CountIf(b.Range("A:A"), f.Cells(fsat, 1)) = 1 Then GoTo 10
s3sat = s3.[A65536].End(3).Row + 1
s3.Cells(s3sat, 1) = f.Cells(fsat, 1): s3.Cells(s3sat, 2) = f.Cells(fsat, 2)
10: Next
For bsat = 1 To b.[A65536].End(3).Row
If WorksheetFunction.CountIf(f.Range("A:A"), b.Cells(bsat, 1)) = 1 Then GoTo 20
s3sat = s3.[A65536].End(3).Row + 1
s3.Cells(s3sat, 1) = b.Cells(bsat, 1): s3.Cells(s3sat, 2) = b.Cells(bsat, 2)
20: Next
s3.Columns("B:B").ColumnWidth = 99.29: Cells.EntireRow.AutoFit
Application.ScreenUpdating = True: Application.Calculation = xlCalculationAutomatic
MsgBox "BİTTİ"
End Sub[/FONT]