DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Test()
Dim Bak As Long
Dim Str1 As Long
Dim Str2 As Long
Dim Sira As Integer
Dim Satir As Long
Str1 = 2
For Bak = 2 To Cells(Rows.Count, "E").End(xlUp).Row
If Cells(Bak, "E") > Cells(Bak + 1, "E") Then
Str2 = Bak
Sira = Sira + 1
With Worksheets("Sonuç")
If Sira = 1 Then
Satir = .Cells(Rows.Count, "E").End(xlUp).Row + 2
End If
Range("E" & Str1 & ":E" & Str2).Copy .Range(Cells(Satir, 5).Address & ":" & Cells(Satir, 9).Address)
Range("F" & Str1 & ":F" & Str2).Copy .Cells(Satir, 9 + Sira)
End With
Str1 = Bak + 1
If Sira = 3 Then Sira = 0
End If
Next
End Sub
For j = startRow To endRow
For j = startRow To endRow - 1
Private Sub CommandButton1_Click()
Dim Bak As Long
Dim Satir As Long
Satir = 4
Range("I5") = Range("E2")
For Bak = 2 To Cells(Rows.Count, "E").End(xlUp).Row
Satir = Satir + 1
If Range("I5") <> Cells(Bak, "E") Then
Cells(Satir, "I") = Cells(Bak, "E")
Else
Exit For
End If
Next
End Sub