Pasting data into a column that moves each month

Joe123

New Member
Joined
Feb 24, 2011
Messages
2
Hi

I want to write some code that lets me Paste a column of formulas into another column. The column I am pasting to moves one position to the right each month. For example this month the formulas need to be pasted to column d, then next month the formulas need to be pasted to column e

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Change the formulas to utilize the Offset formula. That way you can offset it by 1 every month.

Offset(A1,0,1) + Offset(A1,0,1)

Or
Offset(A1,0,Column(A1))+Offset(A1,0,Column(A1))

jc
 
Upvote 0
Would it be fair to say you are just pasting into the first available(empty) column?

Try

Range(copyrange).Copy Destination:= Cells(1, Columns.Count).End(xltoleft).Offset(0,1)
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,916
Members
452,949
Latest member
beartooth91

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