Consulting

Results 1 to 2 of 2

Thread: Solved: POP UP Message when a criteria is met

  1. #1
    VBAX Regular
    Joined
    Sep 2010
    Posts
    25
    Location

    Solved: POP UP Message when a criteria is met

    Hi,

    I would like to create a program where in if a cell meets a criteria it will post a message banner in a person's desktop and the person will have an option to higher or lower the opacity, to display or not display as "always on top" or not.

    So far i've attached what i was able to do.

    Its just a tiny pop up message and it doesnt automatically run when the criteria is met

    Hoping someone can help.
    Attached Files Attached Files

  2. #2
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    750
    Location
    Use following type of event. This needs to be placed in Sheet1(1) module as it is worksheet specific.
    [vba]Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address = "$B$7" Then
    Select Case Target.Value
    Case 7
    MsgBox "Well"
    Case Is >= 10
    MsgBox "YOU ROCK!!!"
    End Select
    End If
    End Sub
    [/vba]
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •