+ Reply to Thread
Results 1 to 2 of 2

Not found message

  1. #1
    Registered User
    Join Date
    07-13-2005
    Posts
    89

    Not found message

    Hi everyone and thanks in advance for any help.

    I made a macro to search for string inside a worksheet. However I can't make my not found message come up. Below's my code

    If Cells.Find(What:=CustName, SearchFormat:=False).Activate Then
    do whatever
    else
    msgbox "Customer Name not found!"
    end if

    I'm not a vb programmer so please correct my code.

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi Ledzepe,

    Something along these lines

    Please Login or Register  to view this content.
    HTH
    Carim

+ 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