DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Kopya()
Application.ScreenUpdating = False
If Range("A1") = "" Then Rows(1).Delete
Rows(1).Insert
sat = WorksheetFunction.RoundUp(Cells(Rows.Count, "A").End(3).Row / 5, 0) - 1
For i = 1 To sat
a = i * 5 - 3
Range(Cells(a, 1), Cells(a + 4, 1)).Copy
Range("B" & i + 1).PasteSpecial (xlPasteValues), Transpose:=True
Next
Application.CutCopyMode = False
Range("A1").Select
End Sub
Örnek dosyada bir şey yok.
Sub Kopya()
Application.ScreenUpdating = False
If Range("A1") = "" Then Rows(1).Delete
Rows(1).Insert
sat = WorksheetFunction.RoundUp(Cells(Rows.Count, "A").End(3).Row / 5, 0)
For i = 1 To sat
a = i * 5 - 3
Range(Cells(a, 1), Cells(a + 4, 1)).Copy
Range("B" & i + 1).PasteSpecial (xlPasteValues), Transpose:=True
Next
Columns(1).Delete
Application.CutCopyMode = False
Range("A1").Select
End Sub