+ Reply to Thread
Results 1 to 7 of 7

Export excel workbook data by unique ID

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Export excel workbook data by unique ID

    I wanted to export all the rows in an excel where the field name for Unique ID's will get exported as a separate file.

    so for example:

    unique id | name | address | zip
    111
    111
    111
    111
    222
    222
    333
    333
    333


    So 3 files would be exported with all data in sheet using the unique id field name...

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Export excel workbook data by unique ID

    Please Login or Register  to view this content.
    Assume all your data at Sheet1, macro look trough A2 to last empty cell(example A100).
    If there is new Unique ID, create new worksheet and paste A:D value.
    If there is existing Unique ID (worksheet already created), paste to new row.
    Hope this is what you want :D
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    07-10-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Export excel workbook data by unique ID

    code works flawlessly at extracting data by unique id placing each into a new sheet.

    All I need now is to be able to export all sheets as a separate excel file.

    And thank you for taking the time to help me with this...

  4. #4
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Export excel workbook data by unique ID

    Please Login or Register  to view this content.
    Is this Okie for you?

  5. #5
    Registered User
    Join Date
    07-10-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Export excel workbook data by unique ID

    The export code worked great, thanks!

  6. #6
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Export excel workbook data by unique ID

    Welcome. Thanks for feed back. Actually it do save 1 extra copy of your original file. Haha
    If it really solved. Please marked as SOLVED. Thanks

  7. #7
    Registered User
    Join Date
    07-10-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Export excel workbook data by unique ID

    Yeah it does its a nice little clever idea, since it saves that sheet with the master records as 1 file.

    Thanks again, u rock!

+ 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