+ Reply to Thread
Results 1 to 4 of 4

Extract Unique Items

  1. #1
    Registered User
    Join Date
    03-12-2007
    Posts
    22

    Extract Unique Items

    Hi,

    I am working on a workbook that contains more than 50 worksheets. One of my tasks is to extract unique items from Column G Row 5 from all of the 50+ worksheets. Could someone provide a macro that I can use to perform this task? Or any other ways that can speed up the work.

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    03-12-2007
    Posts
    22
    Actually I want to extract all the unique items from Column G from all of the worksheets within the workbook and copy it to a new worksheet within the same workbook.

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

    The following assumes that the output sheet already exists, and is the first sheet in the workbook. The remaining sheets (2 - 51) will be processed. The output will be placed in column A of sheet1, starting in A1.

    Please Login or Register  to view this content.
    If you already have data in the first sheet, then it will have to be removed before processing.

    hth

    rylo

  4. #4
    Registered User
    Join Date
    03-12-2007
    Posts
    22
    Quote Originally Posted by rylo
    Hi

    The following assumes that the output sheet already exists, and is the first sheet in the workbook. The remaining sheets (2 - 51) will be processed. The output will be placed in column A of sheet1, starting in A1.

    Please Login or Register  to view this content.
    If you already have data in the first sheet, then it will have to be removed before processing.

    hth

    rylo
    Thanks, rylo! It works!!!
    I also changed your code 'For i = 2 To Sheets.Count' to
    'For i = 5 To Sheets.Count' for the macro to start extract the unique items from sheet 5 [skipping sheet 2 to sheet 4] and it also works! This is awesome. Thank you once again!

+ 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