Horizontal to vertical ( 1 row to 1 column )

S

shiro

Hi All,
I want to create a code that would automatically
loop to cut and paste data from one row to become
one column.

Lay out before :

Row 1 : Aku Saya Hamba Daku
Row 2 : Kamu Anda Dikau Saudara

Lay out after

Column A Column B
Aku Kamu
Saya Anda
Hamba Dikau
Daku Saudara

Thank's

Rgds,
Shiro
 
M

Mike H

Hi,

You don't need a macro.
Select your data and then Copy it

Select a cell for the top left column of data then
Edit|Paste Special
Select 'Transpose'
Click OK

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top