+ Reply to Thread
Results 1 to 4 of 4

message box on cell value

  1. #1
    Registered User
    Join Date
    07-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    message box on cell value

    Hello All,

    Not sure how to accomplished the following.

    I need a message box (“amount exceeds”) to pop up in a range (D1:D30) when the value within this range is greater than 15. The change will happened Via formula not manually.

    Thanks in advance
    Braulio

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: message box on cell value

    Hi,

    You can achieve this using data validation:
    1. Select cells D1:D30
    2. On the "Data" tab on the ribbon, select "Data Validation"
    3. Under "Allow", select "Decimal" or "Whole Number" (whichever is appropriate)
    4. Under "Data", select "less than or equal to" (or just "less than" if it is more appropriate)
    5. Under "Maximum", type 15
    6. Then change to the "Error Alert" tab in the dialog and customise your error message.
    7. Click OK and test.

    Happy days

    Hope this helps

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: message box on cell value

    Sorry, scrap that last solution, I only just re-read your post and this can't be achieved using data validation due to the formula.

    I will post a VBA solution for you in a moment

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: message box on cell value

    Try pasting this code into the worksheet module of your workbook:
    Please Login or Register  to view this content.
    Hope this helps

+ 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. Replies: 2
    Last Post: 09-25-2012, 01:48 PM
  2. [SOLVED] VBA message box with cell values in the message
    By nenadmail in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 10:29 AM
  3. how to generate error message for an empty cell (mandatory input cell)
    By asankar24 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-20-2012, 12:37 PM
  4. [SOLVED] Intercept/replace standard 'cell protected' message with my own message?
    By KR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2006, 10:35 AM
  5. Another cell formatting dependent on cell contents question / message box popup?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2006, 10:50 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