Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to create a simple update flag to show when a particular
worksheet has been updated. I only want to identify when particular cells have been updated, and have tried the following: Private Sub Worksheet_SelectionChange(ByVal Target As Range) Dim rng As Range Set rng = Me.Range("J15:DM24") If Not Intersect(rng, Target) Is Nothing Then Range("C2").Value = True End If End Sub The above code almost works, although it changes C2 to TRUE when any cell in rng is selected, rather than changed. Close, but not quite there!! *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Worksheet_SelectionChange | Excel Programming | |||
Worksheet_SelectionChange | Excel Programming | |||
Worksheet_SelectionChange | Excel Programming | |||
Worksheet_SelectionChange | Excel Programming | |||
Worksheet_SelectionChange | Excel Programming |