Skip to content

Custom function result is displayed in a loop with loading... #616

Answered by govert
schebotar asked this question in Q&A
Discussion options

You must be logged in to vote

OK, that's kind of 'by design' since the volatile function is recalculating after the cell updates, then your function starts calculating again.
Some usere make their own "=TODAY.NV()" function which just returns today but is not volatile. Another good approach is to cache such results (even for a short time), and check in the cache and return directly before calling ExcelDnaUtil.Run.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@schebotar
Comment options

Comment options

You must be logged in to vote
1 reply
@schebotar
Comment options

Answer selected by schebotar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants