need a code to run macro if cell value is changed

srinayana

Board Regular
Joined
Dec 22, 2008
Messages
84
Hi, I need a macro to run a piece of code which is already written. I have a cell IV1 a with a sum formula. When ever the total in IV1 changes then i want macro to run. I dont even want to touch cell IV1. I tried Worksheet-Change event, but it works only when i access the cell IV1 , It will not work when value is changed in IV1 when i not access that cell. Kindly help me.

Regards,
Srinayana
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Look at the Worksheet_Calculate event. This fires when a calculation is made. To have the code run only when the particular cell's return has changed, you would want to store the return val and check against it.
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,298
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top