+ Reply to Thread
Results 1 to 7 of 7

Writing a macro to collect data (selective) from multiple sheets to a summary sheet

  1. #1
    Registered User
    Join Date
    03-18-2013
    Location
    Evansville, IN
    MS-Off Ver
    Excel 2007
    Posts
    4

    Post Writing a macro to collect data (selective) from multiple sheets to a summary sheet

    Excel Forum Copy.xlsx

    First of all I am new to this site. Hello and thank you for reading this post. I am not brand new to excel, but new to this issue. I am currently seeking help. I have a workbook that has many sheets. I have a summary sheet on sheet 1. The info on sheet 2 is in the same place on sheet 5000. I need to:

    1) set up a macro to obtain the information
    2) take that information and place it on the summary sheet in its respective place.
    3) continue to do that until all sheets are completed and all information is in the summary sheet.
    4) be informed on how to place it in the excel document for this years data and then next years workbook.

    I have included a sample workbook of the information complete with the summary sheet with the headers. I have also highlighted the data with respect to where it goes on the summary sheet.

    If this site allows someone to reward another for helping, I would love to contribute two dinners for someone. If the site does not allow this action it would be greatly appreciated if you could assist.

    If there is somewhere online where it could walk me through the process that would be ok with me as well. I am trying to make things easier at work on myself and others and this would save hundreds of hours of work. So please please please help me. Thank you thank you thank you for all your help in advance.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Writing a macro to collect data (selective) from multiple sheets to a summary sheet

    This should take care of it:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-18-2013
    Location
    Evansville, IN
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Writing a macro to collect data (selective) from multiple sheets to a summary sheet

    I appreciate your help in the matter but I wouldnt have a clue on which one to select let alone how to implement it into my workbook. I really need a step by step on this issue.

  4. #4
    Registered User
    Join Date
    03-18-2013
    Location
    Evansville, IN
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Writing a macro to collect data (selective) from multiple sheets to a summary sheet

    ok i see the code now sorry bout that. how do I implement it. I set up my developers ribbon and have played with recording macros and such but have not set up one yet. Please help and you got the dinners bro haha, thanks

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Writing a macro to collect data (selective) from multiple sheets to a summary sheet

    1) open the VBEditor
    2) Add an empty code module (Insert > Module)
    3) Paste in the code provided
    4) Close the VBeditor
    5) Save your workbook

    Now it's ready to use. Press Alt-F8 to open the macro list and run it from there.

  6. #6
    Registered User
    Join Date
    03-18-2013
    Location
    Evansville, IN
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Writing a macro to collect data (selective) from multiple sheets to a summary sheet

    Thank you very much. You assistance helped me so much. I dont have a paypal account, but my brother does but he outta town at the moment. He will be back in town bout 4 days and I will send you some moolla then bro. Again thank you very much for being such a good person and helping a excel handicapped person out. I actually used a different process to upload the code. I opened vba, then clicked sheet one, copied the code into the field then ran the code from vba. it ran for a sec and then was complete. Thanks

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Writing a macro to collect data (selective) from multiple sheets to a summary sheet

    I construct my macros to address specific sheets as often as possible, that's why the macro worked in the module you put it in. But in general, it doesn't go in that sheet module. That's normally reserved for other kinds of macros.

    If that takes care of your original query, please select Thread Tools from the menu above and mark the thread as solved. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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