+ Reply to Thread
Results 1 to 8 of 8

Pull data from several different sheets into a list

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    Flower Mound, TX
    MS-Off Ver
    Excel 2010
    Posts
    4

    Pull data from several different sheets into a list

    I was advance certified in Excel 97? 2000? (can't remember) but have used lots of excel - so I have knowledge of excel but not macro or programming. A friend is trying to pull data from several different sheets into a list. IE addresses from invoices into a customer list. I have searched the forum and attempted to find a way to do this without a new thread but cannot find what I am looking for. Is there a simple way to reference the text and create a list of data to use in a drop down in future invoices and as a mail merge later? Thank you very much for any help.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Pull data from several different sheets into a list

    Can you upload your workbook with some data in it?
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Pull data from several different sheets into a list

    alesiadick,

    Welcome to the forum!
    Create a sheet named Lists in the workbook, then run this code.
    Change the "A1" in ws.Range("A1").Text to be the cell containing the address on each worksheet.
    Change the "A1" in the Sheets("Lists").Range("A1")... to be the starting cell for the address list.
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    08-15-2012
    Location
    Flower Mound, TX
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pull data from several different sheets into a list

    It's not my workbook.... I was having a conversation around outlook with another person and discussing excel and someone else asked me how to do this. I have not seen the workbook. I think he created an invoice template he has been using for various clients in excel and now wants to consolidate the customer contact information into a single worksheet. I know how to manually reference the cells and can copy and paste and just change the worksheet reference, etc. but if he put all the invoices into a single workbook and named them worksheet 1 and 2 and 3, I was hoping to find a way to list data from a single cell or set of cells into a list without having to individually do so. - (Clear as mud? - I wanted to help him and was hoping it would be a simple fix)

    ---------- Post added at 10:56 AM ---------- Previous post was at 10:55 AM ----------

    Oh thank you!! - I have never run code though, I always created formulas. could you tell me how to run code? (Thank you very much!!)

  5. #5
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Pull data from several different sheets into a list

    How to use a macro:
    1. Make a copy of the workbook the macro will be run on
      • Always run new code on a workbook copy, just in case the code doesn't run smoothly
      • This is especially true of any code that deletes anything
    2. In the copied workbook, press ALT+F11 to open the Visual Basic Editor
    3. Insert | Module
    4. Copy the provided code and paste into the module
    5. Close the Visual Basic Editor
    6. In Excel, press ALT+F8 to bring up the list of available macros to run
    7. Double-click the desired macro (I named this one tgr)

  6. #6
    Registered User
    Join Date
    08-15-2012
    Location
    Flower Mound, TX
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pull data from several different sheets into a list

    I will share this with him!! Thank you so much for helping me help someone!! Very nice to meet you all!

    Alesia

  7. #7
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Pull data from several different sheets into a list

    You're very welcome. You'll have to let us know if that worked for him

  8. #8
    Registered User
    Join Date
    08-15-2012
    Location
    Flower Mound, TX
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Pull data from several different sheets into a list

    Oh I will let you know how it goes and will mark your thread solved (or ask for more help if necessary) I truly appreciate your willingness and prompt responses in helping me!!!
    Alesia

+ 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