+ Reply to Thread
Results 1 to 6 of 6

Pulling data from multiple tabs

  1. #1
    Registered User
    Join Date
    03-06-2006
    Location
    Clayton, NC
    MS-Off Ver
    MS Office 2010
    Posts
    61

    Question Pulling data from multiple tabs

    I have a spreadsheet that has about 100 tabs. Each tab represents one person and their personal info, i.e. Name, Address, Phone Number... What I need to do is create a new spreadsheet that contains everyones Name and Address on one tab.

    Currently, the data is like this, one person per tab:

    A
    2 First Last
    3 Street Address
    4 City, State Zip

    What I need to turn it into is this, with everyone on one tab.

    A B C
    2 First Last Street Address City, State Zip
    3 First Last Street Address City, State Zip
    4 First Last Street Address City, State Zip
    5 First Last Street Address City, State Zip
    6 First Last Street Address City, State Zip

    Is there a way that I can run a macro to move from tab to tab and pull the data from the required fields?

    Thanks,
    Jeff
    Last edited by RevJeff; 02-19-2008 at 04:42 PM.

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

    This assumes that your output sheet is the first sheet in the workbook, and you are extracting data from all subsequent sheets.

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    03-06-2006
    Location
    Clayton, NC
    MS-Off Ver
    MS Office 2010
    Posts
    61
    Thanks for the help. I guess I didn't explain what I needed very well. The code you posted pulls all the data correctly, but I needed the data to be in separate cells. So "Name" will be in A1, "Address" will be in B1 and "City, State Zip" will be in C1.

    Thanks again for your help

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

    Here goes.

    Please Login or Register  to view this content.
    rylo

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-06-2006
    Location
    Clayton, NC
    MS-Off Ver
    MS Office 2010
    Posts
    61
    Thanks for all your help. That worked great.

+ 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