Swapping columns

  • Thread starter Thread starter anjanesh
  • Start date Start date
A

anjanesh

I need to swap many columns so that col D is at col A, col C is at col
G, etc etc - without any column being deleted.

Is there a swap function somwhere ?

Thanks
 
anjanesh said:
I need to swap many columns so that col D is at col A, col C is at col
G, etc etc - without any column being deleted.

Is there a swap function somwhere ?

You could copy the source sheet to a temp sheet. Then delete the
entries on the dest sheet (to be sure you don't leave any you don't
want in locations you don't want). Then copy the data you want
from the temp sheet to the original sheet. Then delete the temp sheet.
Socks
 
Try turning the macro recorder on, then do it in Excel. This will give you
the code.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 

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

Back
Top