Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If a formula recalculates, it does not count as a "change", because the
formula itself is unchanged. You need to look at changes in the precedents of the formula. You could simply fire your code off the Worksheet_Calculate event, but it's more involved to limit it to changes in the calculated value of a given cell. You have to save the old value of the cell, compare it to the current value, and do your stuff if the values differ. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierTech.com _______ "newguy" wrote in message ... So how do I get it to recognize the change. The cell I am referencing is a sum and when the sum changes I want to send and email. The code above gives my a "type mismatch" error. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
'IF' Macro to insert cell contents to alternate cell if cell not e | Excel Worksheet Functions | |||
using a cell value to control a counter inside a macro and displaying macro value | Excel Worksheet Functions | |||
If cell is empty then run macro otherwise skip this macro | Excel Programming | |||
macro to run a separate macro dependent on value in cell | Excel Programming | |||
Question: Cell formula or macro to write result of one cell to another cell | Excel Programming |