+ Reply to Thread
Results 1 to 3 of 3

Message box when text found in the specified column

  1. #1
    Forum Contributor
    Join Date
    02-23-2015
    Location
    united kingdom
    MS-Off Ver
    14.0.7143.5000 (32-bit)
    Posts
    124

    Message box when text found in the specified column

    Hi as in the topic I am trying to write a code that promps a message when the value is not found in a range. I have so far:

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Message box when text found in the specified column

    Hi there!

    the LookIn you are using doesn't refer to searching area.
    You should try this way:
    Please Login or Register  to view this content.
    More about .Find here
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Message box when text found in the specified column

    To add to bulina2k's reply, also omit after:=ActiveCell. It would trow an error if the ActiveCell was not in MyRange.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Create a pop up message if specific text found in a cell
    By xtremeblu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-20-2015, 11:55 AM
  2. Replies: 0
    Last Post: 04-25-2015, 01:14 AM
  3. Prompting Message Box if Text/Phrase is found on Web Page
    By Riboflavin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2015, 06:35 PM
  4. [SOLVED] How to find text then select RANGE form the text found to lastrow of Column J
    By tuongtu3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2014, 02:45 AM
  5. [SOLVED] Message (in one window) for each file found/not found
    By kboy1289 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-08-2013, 04:03 PM
  6. [SOLVED] VBA to display message box if a value in a column is found then stop the macro
    By dantgk1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-09-2013, 01:15 PM
  7. Replies: 3
    Last Post: 10-25-2012, 12:49 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