Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How can I have a message come up when a cell breaks a record.
Example if A4 is greater than 50 the say new record |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Oct 20, 9:00 am, delete automatically
wrote: How can I have a message come up when a cell breaks a record. Example if A4 is greater than 50 the say new record You mean an actual message box? If so, right click the sheet tab where you want this to take place and select View Code. Then paste something like this: Private Sub Worksheet_Change(ByVal Target As Range) If Range("A4").Text 50 Then _ MsgBox "New Record!!!" End Sub |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can use data validation to display a message. There are instructions
in Excel's Help, and he http://www.contextures.com/xlDataVal01.html delete automatically wrote: How can I have a message come up when a cell breaks a record. Example if A4 is greater than 50 the say new record -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
JW, that worked perfectly. But how can I change the 50 to something else
without getting a compilr error? Thanks "JW" wrote: On Oct 20, 9:00 am, delete automatically wrote: How can I have a message come up when a cell breaks a record. Example if A4 is greater than 50 the say new record You mean an actual message box? If so, right click the sheet tab where you want this to take place and select View Code. Then paste something like this: Private Sub Worksheet_Change(ByVal Target As Range) If Range("A4").Text 50 Then _ MsgBox "New Record!!!" End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Warning Message | Excel Worksheet Functions | |||
Warning Message | Excel Discussion (Misc queries) | |||
warning message | Excel Discussion (Misc queries) | |||
Warning!!! | Excel Worksheet Functions | |||
Warning message | Excel Discussion (Misc queries) |