I need to copy cells from SheetA D3:D40 and paste transpose to SheetB C2:AN2.
This is the code I have:
Sub CopyPaste()
Worksheets("Questions").Range("D3:D40").Select
Selection.Copy
Worksheets("Apps").Range("C2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Transpose:=True
Worksheets("Apps").Range("A1").Select
Application.CutCopyMode = False
End Sub
After I execute this I get Run Time Error 1004 Select method of Range class failed
What am I doing wrong?