Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Linked data types

46 views
Skip to first unread message

David Shepherd

unread,
Nov 25, 2024, 9:17:05 AM11/25/24
to Excel-DNA
Is it possible to return "linked data types" from an ExcelDna method? I have not been able to find much information.

Govert van Drimmelen

unread,
Nov 26, 2024, 2:33:25 AM11/26/24
to Excel-DNA
Hi David,

No - you cannot return 'linked data types' from an Excel-DNA add-in.
That feature is not supported by the Excel C API, which Excel-DNA uses for integration.
It is only available from JavaScript add-ins.

From an Excel-DNA function you can return an 'object handle' which would be a string pointing to an internal data structure.
Other functions can then take this handle as an input, and use the internal data to return further results.
We're also making object handles a bit easier to use in the next Excel-DNA version 1.9.

-Govert

Shepherd, David

unread,
Nov 26, 2024, 7:53:25 AM11/26/24
to exce...@googlegroups.com
Govert,

Thank you for your prompt and definitive response.

- David

--
You received this message because you are subscribed to a topic in the Google Groups "Excel-DNA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/exceldna/1Db7QWLfrJo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to exceldna+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/exceldna/8df3ecb1-9fcb-4807-b7df-63b5a489887fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages