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

bigmacfann

New Member
Joined
Aug 26, 2005
Messages
44
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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
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,215,794
Messages
6,126,940
Members
449,349
Latest member
Omer Lutfu Neziroglu

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
Back
Top