Hi
I'm using Excel-DNA to setup an RTD subscription.
I have two excel workbooks open.
Both contain the same RTD function, different topic names are used in each workbook.
Scenario 1:
Shutdown Excel instance for workbook1.
RTD subscription disconnects (DisconnectData()
Shutdown Excel instance for workbook2
RTD subscription disconnect is not called.
RTD ServerTerminate() is called since there are no more RTD functions being referenced.
Scenario 2:
Delete cell containing RTD subscription in workbook1.
RTD subscription disconnects (DisconnectData())
Shutdown Excel instance for workbook2
RTD subscription disconnect is not called.
RTD ServerTerminate() is called since there are no more RTD functions being referenced.
The issue, I'm unable to distinguish if the un-subscribe (DisconnectData)
is caused by user deleting RTD function from cell or the first instance of the workbook
is being closed.
I have a use case where I need to trap the specific case when the user deletes the RTD cell
Many thanks
.