VBA Get Message Alert when value in a range changes

Mr Kaka

New Member
Joined
Oct 19, 2022
Messages
12
Office Version
  1. 2021
Platform
  1. Windows
Hi,
I am looking for a vba script that allows me to have an automatic alert whenever the value of a range change.

More specifically, on my case I have the range "Variation" (Range I3:M5) of Sheet_A which tracks the variation between "New Values" (Range C3:G5) and "Default Values" (Range O3:S5).
The range that i want to track is the "Variation" one, which is formula based only.
Please be aware that:
  • the value of "Default Values" are static,
  • the value of "New Values" are dynamic and are based on different parameters, among which also some reported on Sheet_A (Hyphotesis section). hence, for example, if i chage C11, "Variation" range does change

Mr_excel_task_assigned.xlsx
ABCDEFGHIJKLMNOPQRST
1New ValuesVariationDefault Values
2Year123451234512345
3Revenues1,8901,105106134177     1,8901,105106134177
4Cost572328222632     572328222632
5Earnings1,31877784108145     1,31877784108145
6
7
8
9
10Hyphotesis
11A61%
12B30%
13C35%
14
Sheet_A
Cell Formulas
RangeFormula
C3:G4C3=Sheet_B!E10
C5:G5C5=C3-C4
I3:M5I3=C3-O3
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You mean if a range value changes because a formula in the range calculated a new value, or if a user makes a change in a sheet? I suspect it is the former, in which case I don't know but would be happy to learn by following this thread. The other I have done.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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