Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXCEL Popup - Flash - whatever

Status
Not open for further replies.

Freckles

Technical User
May 1, 2000
138
US
When a a variance appears in a particular cell, I need a "popup" (or some other VERY obvious message) to appear saying

YOU HAVE AN ERROR! YOUR HAVE A #### VARIANCE.

My VBA coding ability is null, but I do copy well.

::) Deb Koplen
deb.koplen@verizon.com

A person can stand almost anything except a succession of ordinary days.
 
use conditional formatting to hightlihg the cell


"The reward of one duty done is the power to fulfill another"
Jr Cl[atom]wn


 
use conditional formatting to hightlihgt the cell


"The reward of one duty done is the power to fulfill another"
Jr Cl[atom]wn


 
use conditional formatting to hightlight the cell


"The reward of one duty done is the power to fulfill another"
Jr Cl[atom]wn


 
Try using the validation function.

Go to Data/ Validation...

Mike

 
Freckles.
You can also use code.

To paste it, go to Tools, Macro, Visual Basic Editor. In the left pane double click on the Sheet name that you want this Pop up to take place for. And paste the code. This code works when anything on that particualr worksheet changes. (This test the value in cell B3. You can change it for whichever cell you like.) Here is the code.

Private Sub Worksheet_Change(ByVal Target As Range)

If Range("B3").Value > 0 Then
MsgBox "You have a Positive Variance"
End If
If Range(&quot;B3&quot;) < 0 Then
MsgBox &quot;You have a Negative Variance&quot;
End If
End Sub
 
[sunshine] First, Thanks to all who responded. AND mbarron, you pointed me to a whole new set of possibilities. AND xlhelp, you gave me what I thought was all that was available.

::) Deb Koplen
deb.koplen@verizon.com

A person can stand almost anything except a succession of ordinary days.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top