+ Reply to Thread
Results 1 to 7 of 7

paste to summary sheet based on row number

  1. #1
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    paste to summary sheet based on row number

    Hi guys,

    i need a macro that copies rows 10 and 12 and transposes them onto a "summary" sheet, then repeats for next worksheet.

    i know this is simple but i can't get it to work properly.

    can anyone help?

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: paste to summary sheet based on row number

    Do you have a sample that you can upload?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: paste to summary sheet based on row number

    please see example file
    Attached Files Attached Files

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: paste to summary sheet based on row number

    Can you explain how you want the transpose to be performed? Should i take the data from the 1st 2 sheets? The 1st sheet has 2 columns of data while the 2nd one has 4.

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: paste to summary sheet based on row number

    Hi fabrecass,

    The WorkBook you have uploaded is exactly the same as the one in which you wanted to Copy Sheets From column B to the Summary Sheet. And I have just sent you the solution a little while ago http://www.excelforum.com/excel-prog...-new-post.html

    I'm afraid I don't quite understand your requirement now:
    i need a macro that copies rows 10 and 12 and transposes them onto a "summary" sheet, then repeats for next worksheet.
    Where on the Summary Sheet do you want it copied to, and how would you like it to appear?
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  6. #6
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: paste to summary sheet based on row number

    Hi arlu,

    sorry for not being clear.

    i need rows 9 and 11 (not 10 and 12 as originally stated!) copied and pasted (transposed) onto the summary sheet.

    ideally without the first column? does this make sense?

    I've amended the example to show the result i'm after.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: paste to summary sheet based on row number

    Hi Winon,

    your macro worked perfectly for the requirements I gave you! thank you!

    These are separate requirements i need to perform on a very similar workbook! except this one has over 200 worksheets.

    hope this makes sense?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1