+ Reply to Thread
Results 1 to 2 of 2

Pop-up message

  1. #1
    Registered User
    Join Date
    02-26-2019
    Location
    Belgium
    MS-Off Ver
    MS 365
    Posts
    7

    Pop-up message

    Hi,

    I have the following question:
    I have 2 columns A, B and C. I have column A programmed so that when the value of C is X, the value in B will be the staring value. And A is programmed so that the value of input B is the difference between the input value and the starting value.

    HTML Code: 
    I would now like to make a pop-up message so that when A has a value lower than 5 it gives a warning message.

    I have programmed the following:
    PHP Code: 
    Private Sub Worksheet_Calculate()

    If 
    Range("A1").Value <> "" And Range("A1").Value 5 Then
        MsgBox 
    "Warning"

    Else
        
    End If
    End Sub 
    This program works but now I would like to apply it on the entire colomn of A. So If I start a new thing by putting an x in C and therefore a new staring value in B. Eventually when A is again lower than 5, it will pop up.

    Regards

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,209

    Re: Pop-up message

    Administrative Note

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect.

    1901 is a release, but what is the version - Excel 2019 or MS 365? Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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: 1
    Last Post: 05-30-2018, 12:17 PM
  2. Adding an input message to each cell to bring back corrsponding message
    By Nic31 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2014, 09:28 AM
  3. how to make only message appear number of time before message does not show
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-06-2013, 07:30 PM
  4. [SOLVED] How to pop up a warning message before any Excel automatic update link reminder message
    By billj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2013, 10:41 AM
  5. Extracting mail message(outlook) table in the message body
    By andywsw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 10:14 PM
  6. need of pop up message dynamically using data validation input message method
    By vba_life in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2010, 09:03 AM
  7. [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

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