In a worksheet I would like to copy and paste columns with a button.
It should copy two columns and insert them in the first free column that it can find.
For example it would be F and G. If I press the button again it should do same again and insert in H and I this time.
My VBA code for an Active-X Button:
Private Sub CommandButton1_Click()
Columns("D:E").Copy
CommandButton1.TopLeftCell.EntireColumn.Insert
Application.CutCopyMode = False
End Sub
What do I change to paste in the first free column.
TopLeftCell is false.