+ Reply to Thread
Results 1 to 2 of 2

VBA Recalc and check for value in column and displays message when found

  1. #1
    Registered User
    Join Date
    07-13-2019
    Location
    UK
    MS-Off Ver
    2019
    Posts
    4

    VBA Recalc and check for value in column and displays message when found

    I have a worksheet where column U row 2 is a concatenate of calculated values across columns B row 2 : column R row 2 - which generates a random string of 68 letters.

    In column V row 2 I have the formula =ISNUMBER(SEARCH("ANYWORD", " "&U2&" ")) which returns "TRUE" or "FALSE".

    I have a recalc macro that recalcs all the underlying values and generates the random values.

    How do I create a macro that runs a set number of times (loops x number of times) to do both the recalc and each time checks column V for any instances of "TRUE" which would then trigger a stop of further recalcs and would display to the user a message box saying "ANYWORD found!"

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: VBA Recalc and check for value in column and displays message when found

    Hi and welcome.

    The below is not tested as no sample workbook provided, but give it a whirl.
    Please Login or Register  to view this content.
    BSB

+ 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. [SOLVED] VBA IF error check that changes colour and displays message
    By locopete999 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2017, 08:14 AM
  2. [SOLVED] Macro that looks for a value in a column and displays the results in a message box
    By pasqualebaldi in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-28-2016, 02:05 PM
  3. Message box when text found in the specified column
    By nosense in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-15-2015, 07:20 AM
  4. 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
  5. [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
  6. Message "parametervalue.xlsx could not be found. Check spelling..."
    By ChristineM in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-20-2012, 02:19 PM
  7. Check for duplicate, then if found check for any changes in a different column?
    By brenweb in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-02-2012, 07:39 AM

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