Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vba for rows as columns

Status
Not open for further replies.

simma

Programmer
Sep 11, 2001
398
US
Hello,
I have a worksheet in excel with data like this

ln id name
15 1 jack
16 2 john

i need data in worksheet 2 as

ln 15 16
id 1 2
name jack john

Can anyone suggest a way for this

Thanks
 
Edit>Copy
Edit>PasteSpecial Choose "Values" and tick "Transpose"

If you need the code, just record yourself doing it manually

Rgds, Geoff

"Three things are certain: Death, taxes and lost data. Guess which has occurred"

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top