+ Reply to Thread
Results 1 to 8 of 8

Looping through the worksheets and copy a data to other worksheet

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Looping through the worksheets and copy a data to other worksheet

    Hello,

    I'm looking for a basic macro code that can help loop through all the worksheets except "Summary" Sheet and "Consolidated" Sheet to copy a range C14 to CH & lastrow data to the "Consolidated" Sheet.

    Thank you for your help.

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

    Re: Looping through the worksheets and copy a data to other worksheet

    Maybe:

    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

  3. #3
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Looping through the worksheets and copy a data to other worksheet

    Quote Originally Posted by xladept View Post
    Maybe:

    Please Login or Register  to view this content.
    I got error reported back on line c= ..... Just to clarify, I would like data from all the worksheets excluding the Summary and Consolidated sheet range from A14 to the last row of CH copy and paste to consolidated sheet.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Looping through the worksheets and copy a data to other worksheet

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

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

    Re: Looping through the worksheets and copy a data to other worksheet

    Oh, I didn't get it - looks like Mumps has given you the solution - maybe next time

  6. #6
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Looping through the worksheets and copy a data to other worksheet

    It worked great. Thanks guys.

  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: Looping through the worksheets and copy a data to other worksheet

    You're welcome and thanks for the rep!

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Looping through the worksheets and copy a data to other worksheet

    My pleasure.

+ 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] Help: Looping through worksheets to copy ranges to summary sheet
    By maym in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2017, 12:01 AM
  2. Copy Data From Two Worksheets to master Worksheet
    By amithap in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-23-2014, 03:11 AM
  3. Copy Data From 3 Worksheets into a 4th Worksheet
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-06-2013, 08:48 PM
  4. macro to copy data from 3 worksheets in one worksheet
    By iscar_marius in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-30-2013, 11:39 PM
  5. Looping through Worksheets, Copy/Paste Each Sheet during Loop
    By eduardito in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2012, 07:01 AM
  6. [SOLVED] Copy data from several worksheets to one existing worksheet
    By e.nekram in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-22-2012, 07:17 AM
  7. please help me with my looping of copy worksheets
    By funkymonkUK in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2006, 10:48 AM

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