Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1934
Divide by zero exception.
posted

 I set a bunch of named references in my code which the user can then use in formulas through the formula builder.  Some of the calculations involve dividing by that value, which can be 0.  Instead of forcing the users to test if that value is 0 when dividing by it is there a way to catch this error?

 None of the events of the UltraCalcManager fire but there is a OverflowException thrown when setting the formula property of the column.  I set the FormulaErrorValue of the column but I still receive the exception.  How can I prevent this from occurring?

Parents Reply Children