Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Popup message when value changes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mrbalaje - 21 Mar 2008 08:19 GMT
Hello,

I need a code which can alert me with a message box when the value of the
cell changes from "OK" to "CHECK". Can anyone help me.
Mike H - 21 Mar 2008 11:07 GMT
Hi,

Which cell and what changes it to either of those values?

Mike

> Hello,
>
> I need a code which can alert me with a message box when the value of the
> cell changes from "OK" to "CHECK". Can anyone help me.
mrbalaje - 22 Mar 2008 03:59 GMT
Hello Mike,

Let say cell "D5" and only when it becomes "CHECK", I need a popup message.

> Hi,
>
[quoted text clipped - 6 lines]
> > I need a code which can alert me with a message box when the value of the
> > cell changes from "OK" to "CHECK". Can anyone help me.
Dave D-C - 22 Mar 2008 17:54 GMT
This may be a start:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
 If Target.Rows.Count <> 1 Then Exit Sub
 If Target.Columns.Count <> 1 Then Exit Sub
 ' if target.row .. ?
 ' if target.Column .. ?
 If Target.Value = "CHECK" Then
   MsgBox "You don't want that in " & Target.Address
 End If
End Sub ' Dave D-C

>Hello,
>
>I need a code which can alert me with a message box when the value of the
>cell changes from "OK" to "CHECK". Can anyone help me.

----== Posted via Pronews.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.pronews.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= - Total Privacy via Encryption =---
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.