This is probably an easy macro to make, help please.

bigmacfann

New Member
Joined
Aug 26, 2005
Messages
42
I wish I knew how to program macros myself, is there a book or possibly an online resource? My real question is how to write a macro that does the following (in this exact order):
Move column H to column F
Move column I to column B
Move column K to column C
Move column O to column D
Move column Q to column J
Move column AB to column H
Move column AY to column I
Move column CG to column M
Move column FN to column E
Move column FO to column K
Clear columns A, G, L, N and everything after column N.

I'm certain that this is extremely easy for someone that knows what they're doing. I appreciate any help. Thank you.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
Welcome to the Board!

The easiest way to get that is to go to Tools-->Macros-->Record New Macro and record doing just what you listed.

Then feel free to post what you come up with so someone can show you how to clean it up.

Hope that helps,

Smitty
 
Upvote 0

Forum statistics

Threads
1,190,735
Messages
5,982,646
Members
439,789
Latest member
Justhavinaltlfun2002

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top