DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Option Explicit
Sub satırı_sütuna_çevir()
Dim u As Long
For u = 6 To Range("C65536").End(3).Row
Cells(6, u + 2) = Cells(u, 3)
Cells(7, u + 2) = Cells(u, 4)
Next
End Sub
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Son
If Intersect(Target, Range("C6:D65536")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Range("H6:IV7").ClearContents
Range("C6:D" & Range("C65536").End(3).Row).Copy
Range("H6").PasteSpecial Paste:=xlPasteValues, Transpose:=True
Application.CutCopyMode = False
Range("C6").Select
Application.EnableEvents = True
Exit Sub
Son:
Application.CutCopyMode = False
Application.EnableEvents = True
MsgBox Err.Description
End Sub
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Son
If Intersect(Target, Range("H6:IV7")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Range("C6:D65536").ClearContents
Range("H6:IV7").Copy
Range("C6").PasteSpecial Paste:=xlPasteValues, Transpose:=True
Application.CutCopyMode = False
Range("H6").Select
Application.EnableEvents = True
Exit Sub
Son:
Application.CutCopyMode = False
Application.EnableEvents = True
MsgBox Err.Description
End Sub
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Son
If Intersect(Target, Range("C6:D65536", "H6:IV7")) Is Nothing Then Exit Sub
If (Target.Column = 3 Or Target.Column = 4) And Target.Row >= 6 Then
Application.EnableEvents = False
Range("C6:D65536").ClearContents
Range("H6:IV7").Copy
Range("C6").PasteSpecial Paste:=xlPasteValues, Transpose:=True
Application.CutCopyMode = False
Range("H6").Select
Application.EnableEvents = True
Exit Sub
End If
If Target.Column >= 8 And Target.Row >= 6 Then
Application.EnableEvents = False
Range("H6:IV7").ClearContents
Range("C6:D" & Range("C65536").End(3).Row).Copy
Range("H6").PasteSpecial Paste:=xlPasteValues, Transpose:=True
Application.CutCopyMode = False
Range("C6").Select
Application.EnableEvents = True
Exit Sub
End If
Son:
Application.CutCopyMode = False
Application.EnableEvents = True
MsgBox Err.Description
End Sub