+ Reply to Thread
Results 1 to 2 of 2

Looping a FindNext Until All Values Found

  1. #1
    Forum Contributor
    Join Date
    10-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    110

    Looping a FindNext Until All Values Found

    I have a macro that takes a value in column A and searches column B for that value and highlights it green. If the value does not exist it moves down to the next cell and loops until no values are left in column A. This works but I was hoping to improve on it. Sometimes a value is listed multiple times in column B. I was able to write a loop for it to find all values in column B but I was never able to figure out how to terminate the loop when it found all values in column B.

    The code listed below does not contain that loop, but I was hoping somebody would be able to help me out with writing the loop and having it terminate.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    10-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    110

    Re: Looping a FindNext Until All Values Found

    Actually never mind. I just realized I do not need to duplicates in Column B so I will just start the macro with removing duplicates from Column B.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Check for values in a table and if found add value found in column to left to list
    By robhargreaves in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-07-2013, 02:57 PM
  2. [SOLVED] Codes for looping thru all file when matches found
    By cokillerliu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2013, 11:29 PM
  3. Replies: 4
    Last Post: 06-28-2012, 07:08 AM
  4. search a cell for values in a range, return values found
    By carpe.cervisiam in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2011, 12:52 PM
  5. Number of cells found by .Find/.FindNext
    By Falantar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2009, 11:17 AM

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