#VALUE error with valid formula

J

jnewby72

When I open a workbook, one formula may or may not show the #VALUE
error. After pressing F2 and <Enter>, the formula is calculated
properly. I have tried using the CTL+SHIFT+ALT+F9 to try to refresh the
dependency table and then saving the workbook. Upon reopening the
workbook, the error persists.

Note: Usually the formula that has the error is the last formula
calculated before saving the workbook and the formula(s) in question
are UDF's.
 
J

jnewby72

Adding "application.volatile" to the beginning of the UDF's appeared to
work. I didn't get the #VALUE error after opening the workbook. The
only problem I have with this method is the recalculating of all the
formulas. In a workbook there maybe thousands or tens of thousands of
these formulas that have to be recalculated and that can be time
consuming.

The UDF's that are giving me problems are a part of an third party
add-in. I would like to get the problem solved and suggest to the
author that the changes be implemented. If all of the formulas need to
be recalculated, many other users of this add-in may not appreciate
this fix. If I add this fix to my copy of the add-in only, then every
time I upgrade the add-in, I'll have to implement this line all over
again.

Thank you very much for the suggestion, but are there any other options?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top