I want to be able to run a Macro whenever someone makes a change to a Particular Cell. Is this possible and if so How? It would work best if it can run when exiting the cell?
Hi
This worksheet event maybe useful for you
How to Save a Workbook Event MacroPrivate Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Range("YourCellAddress"), Target) Is Nothing Then 'Run Your Macro End If End Sub
- Copy the macro using CTRL+C keys.
- Open your Workbook and Right Click on any Worksheet's Name Tab
- Left Click on View Code in the pop up menu.
- Paste the macro code using CTRL+V
- Save the macro in your Workbook using CTRL+S
Люди, питающие благие намерения, как раз и становятся чудовищами.
Regards, «Born in USSR»
Vusal M Dadashev
Baku, Azerbaijan
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks