+ Reply to Thread
Results 1 to 14 of 14

copy range from multiple sheets and paste to one sheet

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    copy range from multiple sheets and paste to one sheet

    Hey guys,
    i am having trouble with the following taks:
    I need to copy a row of five cells from every sheet in the wb (same cells every sheet) to one new sheet. The rows should appear in cells B2:F2 and downwards.
    I think i got the copy part right but i habe no idea how to do the paste part.

    Please Login or Register  to view this content.
    Thanks for your help!
    Last edited by arlu1201; 04-04-2013 at 05:36 AM.

  2. #2
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: copy range from multiple sheets and paste to one sheet

    Sorry I forgot to Code:

    Please Login or Register  to view this content.
    Thanks for your help!

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: copy range from multiple sheets and paste to one sheet

    I just saw that the range is wrong... that will be E34:I34.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: copy range from multiple sheets and paste to one sheet

    I do not know where to copy the range to? You need to have a sheet called new sheet, or change the Set ms = Sheets("New sheet") in to your choice.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: copy range from multiple sheets and paste to one sheet

    The sheet the range has to be copied to is a blank new sheet called sheet1, the ranges should appear in a downwards order starting in row 2 column B to F. There are about 200 sheets, so we will have a set of about 200 lines of data in sheet1 afterwards.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: copy range from multiple sheets and paste to one sheet

    Not clear yet.
    E34:I34 is not 5 row range and B-F is a 5 length range

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: copy range from multiple sheets and paste to one sheet

    Sorry for mixing the terms up!!!

    The cells that have to be copied are E34 F34 G34 H34 I34 on about 200 sheets.
    These ~200 I want to have on Sheet1, which is empty before.
    They should appear listed starting with B2 B3 B4 B5 B6 and continuing downwards.

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: copy range from multiple sheets and paste to one sheet

    Have you tried the above code? It does exactly

  9. #9
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: copy range from multiple sheets and paste to one sheet

    I work without any Error. There is one Problem left though.
    The Code pastes in the same cells every time. It does not create a list.
    After running the code, there is only one line of data, which is the one from the last sheet.

  10. #10
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: copy range from multiple sheets and paste to one sheet

    It should have said: "IT WORKS without any error." :D

  11. #11
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: copy range from multiple sheets and paste to one sheet

    Not, it does not. It copies in to next empty row. I have tested it. Could you please attach your sample, so that I can see the format of your sheet?

  12. #12
    Registered User
    Join Date
    04-02-2013
    Location
    Zuerich, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: copy range from multiple sheets and paste to one sheet

    I figured out my mistake, it works now.
    Thanks so much for your help!!!

  13. #13
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: copy range from multiple sheets and paste to one sheet

    David,
    You are welcome!
    Could you please now close (Mark) this thread as solved? Go in to the top right-hand side of this page, choose "Thread Tools" from the menu, then select "solved" from the drop down menu.

  14. #14
    Forum Contributor
    Join Date
    02-28-2012
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    542

    Re: copy range from multiple sheets and paste to one sheet

    Quote Originally Posted by David_Hiss View Post
    I figured out my mistake, it works now.
    Thanks so much for your help!!!
    hai david,
    you could have shown what was your mistake so that others could learn.

+ 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