
Option Explicit
Sub Trasponi()
Dim Rfg As Long
Rfg = Cells(2, 2).Value
With Worksheets("Calcoli")
Range(Cells(3, 2), Cells(6, 2)).Copy
.Range("D" & Rfg + 3).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=True
End With
Application.CutCopyMode = False
Cells(2, 2).Select
End Sub |
Range(Cells(3, 2), Cells(6, 2)).ClearContents
