PC Review


Reply
Thread Tools Rate Thread

determine when the user moves to a difference cell

 
 
Sean Farrow
Guest
Posts: n/a
 
      16th Dec 2008
Hi:
in excel how do I use the onworksheet change event? to determine then the
cellthe user is in has changed.
Do I have to implement all function for an event sink or canIjust implement
the functions I require, in this case I am using the AppEvents interface.
Any guidance apreciated.
Sean.


 
Reply With Quote
 
 
 
 
Nigel
Guest
Posts: n/a
 
      16th Dec 2008
Put worksheet change event code on the worksheet code sheet you are
monitoring,
the following tracks cell A1 for changes....

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
MsgBox "A1 has changed"
End If
End Sub

--

Regards,
Nigel
(E-Mail Removed)



"Sean Farrow" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi:
> in excel how do I use the onworksheet change event? to determine then the
> cellthe user is in has changed.
> Do I have to implement all function for an event sink or canIjust
> implement the functions I require, in this case I am using the AppEvents
> interface.
> Any guidance apreciated.
> Sean.
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to do edit checks when user moves out of a cell Eric @ BP-EVV Microsoft Excel Programming 1 24th Apr 2008 04:33 PM
Cell to cell movement with arrow keys moves entire sheet =?Utf-8?B?a2VuIGhlaW5lbWFubg==?= Microsoft Excel Worksheet Functions 1 29th Dec 2006 12:30 AM
The absolute referenced cell does not move when source cell moves =?Utf-8?B?am9obmM=?= Microsoft Excel Worksheet Functions 2 8th May 2006 06:33 PM
Determine the current cell while inside a User Defined Function pmax Microsoft Excel Programming 2 1st Feb 2006 11:47 PM
How to determine difference? Fionavar Microsoft Excel Discussion 7 21st Jan 2005 04:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:47 AM.