Hi,
Once I have copied a column of data, running below code, which supposed to paste values and transpose to horizontal, but the only thing that happens is second line of the code.
How do I make it work?
Once I have copied a column of data, running below code, which supposed to paste values and transpose to horizontal, but the only thing that happens is second line of the code.
How do I make it work?
VBA Code:
Private Sub CommandButton6_Click()
Worksheets(4).Range("A2").PasteSpecial Paste:=xlPasteValues, Transpose:=True
Worksheets(1).Range("A311").Select
End Sub