ExcelFunction IsMacroType questions #684
-
What are the (performance) implications using |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I have found this: https://learn.microsoft.com/en-us/office/client-developer/excel/multithreaded-recalculation-in-excel
Not sure if the previous applies, especially since I don't know what exactly XLM is. |
Beta Was this translation helpful? Give feedback.
-
Excel macros. The C API calls into Excel using the Excel4/Excel12 functions. The first argument is the "function number" to call. Functions numbers for functions start with |
Beta Was this translation helpful? Give feedback.
-
Functions that are both marked as I suspect functions registered as |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what I believe |
Beta Was this translation helpful? Give feedback.
I'm not sure what
AllowReference=true
means in Excel-DNA. In the Excel C API pointers to XLOPER arguments can be specified as either type "Q" or type "U". If type "U" then Excel can hand you a reference and the function becomes volatile. If type "Q" then Excel will handily coerce that to the value that the reference points to and will not be marked volatile.I believe
IsMacroType=true
allows functions to fetch cell values that are stale and call information functions that do not change the state of the workbook. It does not make a function volatile.