- Katılım
- 14 Eylül 2020
- Mesajlar
- 56
- Excel Vers. ve Dili
- 2019
Arkadaşlar günaydın,
Aşağıda paylaştığım makroyu kısa yol tuşuna atadım ancak tek tıkla ilgili sayfanın sonuna kadar çalıştırmak istiyorum bunu nasıl revize etmeliyim?
Ayrıca makro çalışmaya hızlı başlıyor ancak yarıya geldikten sonra çok tıkanmalar başlıyor bu performansı arttırabilecek öneriniz var mıdır?
Teşekkürler.
Sub Makro3()
'
' Makro3 Makro
'
' Klavye Kısayolu: Ctrl+Shift+A
'
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(6, -18).Range("A1").Select
End Sub
Aşağıda paylaştığım makroyu kısa yol tuşuna atadım ancak tek tıkla ilgili sayfanın sonuna kadar çalıştırmak istiyorum bunu nasıl revize etmeliyim?
Ayrıca makro çalışmaya hızlı başlıyor ancak yarıya geldikten sonra çok tıkanmalar başlıyor bu performansı arttırabilecek öneriniz var mıdır?
Teşekkürler.
Sub Makro3()
'
' Makro3 Makro
'
' Klavye Kısayolu: Ctrl+Shift+A
'
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(-2, 2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(0, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(1, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-1, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(2, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-2, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(3, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-3, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(4, -2).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 3).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -3).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-4, 1).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(5, -1).Range("A1").Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(-5, 2).Range("A1").Select
ActiveSheet.Paste
ActiveCell.Offset(6, -18).Range("A1").Select
End Sub