Copy Row Cells into Stack Paste

Pinaceous

Well-known Member
Joined
Jun 11, 2014
Messages
1,124
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I'm trying to Copy row 2's A2 to K2 of Workbook(1) to then stack paste this information in Workbook(2) A7:A16.


Does anyone know how to do this??


Many thanks!

Pinaceous
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about
Code:
Sub InsertTranspose()
   Workbooks(2).Sheets(1).Range("A7:A16").Value = _
   Application.Transpose(Workbooks(1).Sheets(1).Range("A2:K2"))
End Sub
 
Upvote 0
Manually, you can simply use Paste Special and Transpose.
 
Upvote 0
Interesting thing though, your source range of A2:K2 is 11 cells, and your destination range of A7:A16 is only 10 cells...
 
Upvote 0
Hi Fluff,
Many thanks for posting a code for me to test drive.

Cheers,
Pinaceous
 
Upvote 0
Interesting thing though, your source range of A2:K2 is 11 cells, and your destination range of A7:A16 is only 10 cells...

Hi Joe4,

That was my mistake, it should all be in agreement as you would expect.

Cheers!
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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