bloodmilksky

Board Regular
Joined
Feb 3, 2016
Messages
202
Hi Guys,

I was just wondering if anyone could help me with the below please.

I am looking to have all the values from column A Sheet 1 copied to Sheet 2 a1:cm1

but is it possible that once copied that the macro would run through and name that range based on the value in the top cell a1:a5 would be 1234, b1:b5 would be 5678 and so on.

any help would be greatly appreciated.

Jamie
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I'm not sure I understand what you want to do. You want to copy the Sheet 1 A column and paste it into Sheet 2 A thru CM? Then you want to name the range based on the value in the top row cell? They will all be identical, that won't work. Or do you mean they should be named with the pattern "1234" for the A column "5678" for B column to "364365366367" for CM column?

Please give an example of the output you're looking for, preferably in table format (see in my sig below if you need something to create tables in this forum.)
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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