+ Reply to Thread
Results 1 to 3 of 3

Iterate through row and then msgbox if value in column exceeds a set number

  1. #1
    Registered User
    Join Date
    08-06-2019
    Location
    Karlsruhe, Germany
    MS-Off Ver
    Office 365
    Posts
    24

    Iterate through row and then msgbox if value in column exceeds a set number

    Hey guys,

    I am trying to solve following issue:
    I'd like to iterate through the first row of my table and find a certain string, let's say "w1". I do this to keep the table dynamic for changes.
    If w1 was found, the code should go down that column and put out a message box when the value is bigger than 500. Ideally it does that immediately when I type in a number that's bigger than that.
    I have tried writing following Code, which doesn't work:

    Please Login or Register  to view this content.
    Can somebody please help me?
    Thanks a lot in advance!

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

    Re: Iterate through row and then msgbox if value in column exceeds a set number

    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.

  3. #3
    Registered User
    Join Date
    08-06-2019
    Location
    Karlsruhe, Germany
    MS-Off Ver
    Office 365
    Posts
    24

    Re: Iterate through row and then msgbox if value in column exceeds a set number

    Hey AlphaFrog,
    this worked perfectly!!
    Thanks a lot

+ 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. Count how many times a date in column G exceeds respective Row in Column A
    By tangerine7199 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-14-2017, 04:44 PM
  2. Returning 0 if rank exceeds a given number
    By darkyam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-23-2015, 09:59 AM
  3. MsgBox when cell value in column exceeds a threshold.
    By Stew1234 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-14-2014, 02:41 PM
  4. Display Row & column number in MsgBox
    By Astroboy142 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-02-2009, 07:27 PM
  5. [SOLVED] counting if a value exceeds a specified number
    By Albert in forum Excel General
    Replies: 2
    Last Post: 07-20-2006, 09:20 AM
  6. Locate first number that exceeds reference value
    By Nick Krill in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2006, 11:40 PM
  7. [SOLVED] Footers in which number of characters exceeds 255
    By DRK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-09-2005, 01:05 PM

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