Move a column

M

MacroMan

I want to move column "E" to column "A" by cutting
column "E" and inserting it to the left of column "A".
i.e. column "A" will become column "B" when its done.

I can do this but it requires at least two lines of code.
Can't this be done in one line of code?

Your example code would be greatly appreciated...thanks in
advance.
 
M

MacroMan

Nope. This overwrites column "A". I need column "A"
shifted to the right...any other ideas?
 
D

Don Guillett

OK
Columns(6).Cut: Columns(1).Insert shift:=xlToRight
don't forget the colon after cut
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top