+ Reply to Thread
Results 1 to 3 of 3

loop through column and copy instances of text

  1. #1
    Forum Contributor
    Join Date
    02-08-2006
    Location
    UK
    MS-Off Ver
    2013
    Posts
    204

    loop through column and copy instances of text

    Sorry, that didn't sound too clear. Row A (Sheet 1) has a list of serial numbers (alphanumeric). I'm looking to be able to loop through that row and copy a list of the numbers as in the example below but can't figre out how to do it. Any help appreciated.

    Row A
    a2314
    a2314
    b345
    b346
    a2314
    b346
    c478

    So what will be copied in a new row is:
    a2314
    b345
    b346
    c478
    Last edited by wonderdunder; 06-30-2011 at 10:16 AM.

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: loop through column and copy instances of text

    It sounds like you want to get the unique values from COLUMN A. Use the advanced filter, and check unique items only.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Forum Contributor
    Join Date
    02-08-2006
    Location
    UK
    MS-Off Ver
    2013
    Posts
    204

    Re: loop through column and copy instances of text

    Now why didn't I think of that! Many thanks

+ 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