+ Reply to Thread
Results 1 to 9 of 9

Copy from all sheets and paste it in one sheet

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    58

    Copy from all sheets and paste it in one sheet

    Hi All,

    I need some help on the below:

    1. There is information in Col-B, Col-C, Col-D and Col-E in sheets named Sheet-1 and Sheet-2.....etc
    2. There is an sheet called "Output" and need information from all Sheets on this sheet
    3. For each of the row copied from a particular sheet, need the sheet name against that row.


    I am able to copy the content from each of the sheets but I need the names of the sheet against each of row copied from that particular sheet.

    Please Login or Register  to view this content.
    Attached is the sample for reference and request help around resolving the above.

    Kind Regards,
    Srikanth
    Attached Files Attached Files
    Last edited by sreeks; 09-13-2017 at 01:32 PM.

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

    Re: Copy from all sheets and paste it in one sheet

    Hello sreeks,

    Please try this Code:

    Please Login or Register  to view this content.
    Sample Workbook attached.

    Regards.
    Last edited by Winon; 09-13-2017 at 04:08 PM.
    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] .

  3. #3
    Registered User
    Join Date
    08-11-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    58

    Re: Copy from all sheets and paste it in one sheet

    Hi Winon,

    Thank you so much for the quick response and solution.
    The above works flawless when there are two sheets, however I have around 300 sheets in one workbook.

    I am bad at loops tried implementing the logic in loop but was unsuccessful. Please correct and advise as below:

    Please Login or Register  to view this content.
    Kindly request you to advise.

    Kind Regards,
    Sreeks
    Last edited by sreeks; 09-14-2017 at 02:57 AM.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy from all sheets and paste it in one sheet

    Try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  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: Copy from all sheets and paste it in one sheet

    @ xladept,

    Great Coding my friend! However, I would tweak it somewhat to the following below:

    Please Login or Register  to view this content.
    Thank you so much for your help, though.

    Please try the attached File with the Code as amended.

    Kind Regards.
    Last edited by Winon; 09-15-2017 at 05:55 AM.

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy from all sheets and paste it in one sheet

    @ Winon - Nice tweak - I wondered what those spaces between postings were for
    Thanks for the rep

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy from all sheets and paste it in one sheet

    You're welcome and thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  8. #8
    Registered User
    Join Date
    08-11-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    58

    Re: Copy from all sheets and paste it in one sheet

    Thank you Winon and Xladept for the quick and flawless solution. It did save lot of manual work.. :-)

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

    Re: Copy from all sheets and paste it in one sheet

    You are welcome sreeks,

    Glad we could help. Also thank you for the Rep!

    Regards.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy Paste From Rawdata Sheets to Multiple Sheets Based on Sheet names
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2017, 11:01 PM
  2. Excel Sheets data copy and paste into one sheet
    By sudbhavani in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 05-10-2017, 05:27 AM
  3. [SOLVED] Copy a sheet and paste in all sheets of workbook
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-15-2014, 06:49 AM
  4. [SOLVED] Copy from different sheets and paste to summary sheet
    By ischopra in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-02-2013, 09:59 AM
  5. [SOLVED] copy range from multiple sheets and paste to one sheet
    By David_Hiss in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-05-2013, 09:48 PM
  6. Copy data in multiple sheets and paste into one sheet.
    By Slomaro2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-05-2008, 05:27 AM
  7. copy from one sheet and paste into other sheets
    By TUNGANA KURMA RAJU in forum Excel General
    Replies: 3
    Last Post: 12-08-2005, 11:10 AM

Tags for this Thread

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