Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default determine when the user moves to a difference cell

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.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default determine when the user moves to a difference cell

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




"Sean Farrow" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine the minimum difference between values? Eric Excel Discussion (Misc queries) 3 March 9th 09 05:25 AM
Code to do edit checks when user moves out of a cell Eric @ BP-EVV Excel Programming 1 April 24th 08 04:33 PM
Hyperlink-link so that when a cell moves the link also moves? peters Excel Programming 4 March 15th 06 05:26 PM
Determine the current cell while inside a User Defined Function pmax Excel Programming 2 February 1st 06 11:47 PM
Can you compare similar spreadsheets to determine a difference? DLopez79 Excel Discussion (Misc queries) 1 January 9th 06 09:36 PM


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"