Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
change event procedure
Do you know how to adapt the code,
Private Sub Worksheet_Change(ByVal Target As Range) to execute when one particular cell is changed rather than any cell in the worksheet? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
change event procedure
Ben,
To have it only look at cell A2: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address < "$A$2" Then Exit Sub .... HTH, Bernie MS Excel MVP "benb" wrote in message ... Do you know how to adapt the code, Private Sub Worksheet_Change(ByVal Target As Range) to execute when one particular cell is changed rather than any cell in the worksheet? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
change event procedure
Private Sub Worksheet_Change(ByVal Target As Range)
if target.address= "$A$1" Then 'etc. End If End Sub -- HTH RP "benb" wrote in message ... Do you know how to adapt the code, Private Sub Worksheet_Change(ByVal Target As Range) to execute when one particular cell is changed rather than any cell in the worksheet? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Validation Procedure with a worksheet change event | Excel Worksheet Functions | |||
workbook_Open event Procedure | Excel Discussion (Misc queries) | |||
workbook_Open event Procedure | Excel Discussion (Misc queries) | |||
programming the VBE for a new event procedure | Excel Programming | |||
OnTime event not firing in Workbook_Open event procedure | Excel Programming |