VB Circular Calculation
Workbook_Open and Workbook_BeforeClose may not cover all the
situations.
Have you tried putting your Iteration code into Workbook_Activate and
Workbook_Deactivate events in ThisWorkbook?
Workbook_Activate also runs after Workbook_Open, and
Workbook_Deactivate runs after Workbook_BeforeClose, so those
situations are covered as well.
Carl.
On Mar 7, 9:10 am, Ligaya wrote:
Simon,
Thanks. I tried that approach, sometimes it works, sometimes not. I placed
the command when I open the workbook.
I probalby have to experiment where the command best fit.
Ligaya
"Ligaya" wrote:
Hi.
I have a workbook which has circular calculations developed in Excel 2000.
I have included the following statement so that the workbook will calculate
circular formula reference.
With Application
.MaxIterations = 100
.MaxChange = 0.001
End With
Now that I am using Excel 2003, Excel pop-up reminder that Excel can not
calculate a formula which is circular. This only happens when another
workbook has been opened earlier.
I included the above code when the workbook opens. The Excel Pop-up
reminder does not show if I opened the subject workbook first.
With application
.Iterations = True
End With
I closed the iteration when I close the workbook.
With application
.Iterations = False End With
End With
I still have the same problem. What am I missing?
Is there a way or coding that I could use to supress this pop-up reminder no
matter when I open the subject workbook (i.e before or after another workbook
is opened)?
Any suggestions is greatly appreciated
Thanks.
Ligaya- Hide quoted text -
- Show quoted text -
|