DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub puant()
Set s1 = [COLOR=black]Sheets("154")[/COLOR]
Set s2 = [COLOR=black]Sheets("154 fider puant")[/COLOR]
For bak1 = 6 To 36
If s2.Range("A" & bak1) = s1.Range("AB1") Then
s2.Select
s2.Range("A" & bak1).Select
Range(ActiveCell.Offset(0, 1), ActiveCell.Offset(0, 26)) = s1.Range("AB44:BA44").Value
End If
Next
[COLOR=red]call puant1[/COLOR]
End Sub
Sub [COLOR=red]puant1()[/COLOR]
Set s1 = [COLOR=blue]Sheets("154")[/COLOR]
Set s2 = [COLOR=blue]Sheets("154 fider puant")[/COLOR]
For bak1 = 6 To 36
If s2.Range("A" & bak1) = s1.Range("AB1") Then
s2.Select
s2.Range("A" & bak1).Select
Range(ActiveCell.Offset(0, 1), ActiveCell.Offset(0, 26)) = s1.Range("AB44:BA44").Value
End If
Next
End Sub
Sub puant()
Set s1 = Sheets("AS")
Set s2 = Sheets("FİDER")
For bak1 = 1 To 20
If s2.Range("A" & bak1) = s1.Range("B1") Then
s2.Select
s2.Range("A" & bak1).Select
Range(ActiveCell.Offset(0, 1), ActiveCell.Offset(0, 6)) = s1.Range("A4:F4").Value
End If
Next
Call puant1
End Sub
Sub puant1()
Set s1 = Sheets("MAS")
Set s2 = Sheets("380")
For bak1 = 1 To 20
If s2.Range("A" & bak1) = s1.Range("B1") Then
s2.Select
s2.Range("A" & bak1).Select
Range(ActiveCell.Offset(0, 1), ActiveCell.Offset(0, 12)) = s1.Range("A5:L5").Value
End If
Next
End Sub
Nerede hata veriyor?makro bu haliyle düzgün çalışmıyor
Sub puant1()
Set s1 = Sheets("154")
Set s2 = Sheets("154 fider puant")
[COLOR="Red"]Set s3 = Sheets("AS")[/COLOR]
For bak1 = 6 To 36
If s2.Range("A" & bak1) = [COLOR="red"]s3.Range("AB1") [/COLOR]Then
s2.Select
s2.Range("A" & bak1).Select
Range(ActiveCell.Offset(0, 1), ActiveCell.Offset(0, 26)) = s1.Range("AB44:BA44").Value
End If
Next
End Sub