+ Reply to Thread
Results 1 to 4 of 4

How to ignore blank cells in a find macro

  1. #1
    Registered User
    Join Date
    08-12-2009
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2007
    Posts
    53

    How to ignore blank cells in a find macro

    Hello, this is what i have so far. But if either of the search values from MyArr (A1 or A2) are left blank then it will search for a blank cell. How do I prevent this? Help much appreciated.


    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: How to ignore blank cells in a find macro

    Consider to use If condition in
    Please Login or Register  to view this content.
    Best Regards
    MaczaQ
    ---------------------------------------------------------------------------------------------------------------------------
    If you are satisfied with the solution(s) provided, please mark your thread as Solved
    If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
    - This way you will add him some reputation points ... thanks in advance.

  3. #3
    Registered User
    Join Date
    08-12-2009
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: How to ignore blank cells in a find macro

    Thanks MaczqQ, so simple just couldnt see it. Have one other question, but will repost so I can mark this as solved. Thanks again

    ---------- Post added at 11:30 AM ---------- Previous post was at 11:27 AM ----------

    How do I rate using scales? Where is the icon?

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to ignore blank cells in a find macro

    Hi ANDREWA

    You can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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