excel-addinscustom-functions-exceljavascript-api-for-office

How to show message from custom function w/o using task pane or return value?


Is it possible to show a message (just a warning the user can dismiss) from code in a custom function without using a task pane? (And without making it the return value of the function.) Something that shows up in the status bar, or a popup, etc.?

And obviously, if so, how do you do it?

(Office.context.ui.displayDialogAsync isn't available from the custom functions context, not even in the shared runtime.)


Solution

  • Thank you for reaching us. So far we don't support it. I'd recommend going to Microsoft 365 Developer Platform Ideas Forum and see if this feature has already been requested or if request a new feature. Thanks for your support!