+ Reply to Thread
Results 1 to 3 of 3

Findnext not working

  1. #1
    bjwade62
    Guest

    Unhappy Findnext not working

    I can't seem to get the findnext to work. I can find the first instance but none after that. Here's my code. Can anyone help me? Thanks.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    It looks like you are not setting B in you Do Loop

    try changing

    B = Sheets(SheetNumb).Cells.FindNext(B)

    to

    Set B = Sheets(SheetNumb).Cells.FindNext(B)

  3. #3
    bjwade62
    Guest
    Yup. that was it. 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