Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to run an event upon changing the value of a specific cell?
I want to run an event or a mcaro only when a certain cell is changed.
i.e., if the cell A1 value is changed, then do such and such ... |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to run an event upon changing the value of a specific cell?
Right click on your sheet tab, view code. Paste this in and modify to suit:
Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Range("A1")) Is Nothing Then Exit Sub 'Do something here End Sub -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "Wael Fathy" wrote: I want to run an event or a mcaro only when a certain cell is changed. i.e., if the cell A1 value is changed, then do such and such ... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options | Excel Discussion (Misc queries) | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing | Excel Discussion (Misc queries) | |||
Event when a specific cell changes | Excel Discussion (Misc queries) | |||
Change Event on a Specific Cell | Excel Worksheet Functions | |||
change event on specific cell rather than worksheet | Excel Discussion (Misc queries) |