S
samer.kurdi
I have an excel workbook that recently simply stopped calculating the
following formula at cell x14:
=IF(TODAY()>EOMONTH(X12,0),EOMONTH(X12,0),IF(MIN(I8:I10)>=X12,MIN(I8:I10),"-"))
Note that:
(a) The analysis toolpak add-in is enabled
(b) Automatic calculation is enabled. All other cells seem to update
just fine
(c) This occurs at the end of a macro execution that opens other files
and copies data into the workbook in question. Although this macro
switches off automatic calculation at the beginning of execution, it
switches it on again at the end and ends with a 'calculate' statement
anyway.
(d) I tried to add a specific Range("x14").Calculate statement in the
macro to no avail, I even preceded it with a Doevents statement for
good measure. Didn't work.
(e) Rampant pressing of F9 doesn't work; cell won't update
(f) The only way that works to get it to calculate is to go into the
cell and place a carriage return into the formula editing bar.
Anybody has any ideas as to what might be going on? Your help will be
extremely appreciated!
following formula at cell x14:
=IF(TODAY()>EOMONTH(X12,0),EOMONTH(X12,0),IF(MIN(I8:I10)>=X12,MIN(I8:I10),"-"))
Note that:
(a) The analysis toolpak add-in is enabled
(b) Automatic calculation is enabled. All other cells seem to update
just fine
(c) This occurs at the end of a macro execution that opens other files
and copies data into the workbook in question. Although this macro
switches off automatic calculation at the beginning of execution, it
switches it on again at the end and ends with a 'calculate' statement
anyway.
(d) I tried to add a specific Range("x14").Calculate statement in the
macro to no avail, I even preceded it with a Doevents statement for
good measure. Didn't work.
(e) Rampant pressing of F9 doesn't work; cell won't update
(f) The only way that works to get it to calculate is to go into the
cell and place a carriage return into the formula editing bar.
Anybody has any ideas as to what might be going on? Your help will be
extremely appreciated!