Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to Run VBA Code on cell or range change
Near the top of your code:
if target.cells.count 1 then exit sub if intersect(target,me.range("b99")) is nothing then exit sub And remember to turn off events if you're changing something (and don't want that to cause the event to run again). MikeZz wrote: I want to run some code whenever someone changes a value in a particular cell or range. I know how to do it on Worksheet_Change but don't want to have it actually run code (slowing response down) every time any cell changes. Is there a way to do this? Thanks, MikeZz -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Code for a button to change cell location | Excel Discussion (Misc queries) | |||
How to Run VBA Code on cell or range change | Excel Programming | |||
Change cell colour for a cell or range within a predefined range | Excel Programming | |||
Problem with Running VBA code on Cell Change | Excel Programming | |||
run code after cell contents change | Excel Programming |