+ Reply to Thread
Results 1 to 5 of 5

Need a Simple Macro to Create Summary Sheet

  1. #1
    Registered User
    Join Date
    07-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    39

    Need a Simple Macro to Create Summary Sheet

    In Excel 2003, I have a workbook which will contain an unknown number of sheets. I need the macro to go through each sheet and pull data to a summary sheet. There could be an unknown number of sheets so it will need to look to see how many to end.
    DETAILS
    The summary sheet is always Sheet1, named "Summary" and the template already will contain the titles in Row 1
    The data I need to pull from each worksheet to the summary sheet will always be in A3:E3 and cell K12 of the worksheets
    The summary sheet should pull the data in the detail sheets to rows in the summary sheet, consecutively, 1 row per detail sheet. In my example, WK1's information should appear in Row 2 of the Summary Sheet. WK2's info should appear in Row 3 and so on.
    The detail worksheets will be named differently each time
    The macro should look through the sheets to end when no more sheets exist stop pulling the data.

    I have attached a sample file. My Excel workbook could contain problems since I've tried to use so many codes in it so it is just so you can get a sense of what I'm trying to do.

    Please help. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Need a Simple Macro to Create Summary Sheet

    Hi

    Try this

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    07-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: Need a Simple Macro to Create Summary Sheet

    Thank you. I appreciate your response. I've been trying to get this answered for 4 days. I will try this first thing tomorrow morning and respond back. I am not at my work and do not have access to the real file.

  4. #4
    Registered User
    Join Date
    07-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: Need a Simple Macro to Create Summary Sheet

    It worked! Thanks.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Need a Simple Macro to Create Summary Sheet

    @ CRW

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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