Protected view cannot get TaskPaneInstance

Add-in Express™ Support Service
That's what is more important than anything else

Protected view cannot get TaskPaneInstance
Rob Blackin

Posts: 68
Joined: 2016-02-20
I am trying to reference the TaskPaneInstance in excel on a Protected document and it seems to always be null.

Is there a way to access it? I tried TaskPaneInstances but with multiple workbooks open, I dont know which one refers to which TaskPaneinstance.

Any help would be appreciated.


Posted 19 Nov, 2017 04:37:03 Top
Andrei Smolin

Add-in Express team

Posts: 15477
Joined: 2006-05-11
Hello Rob,

I've reproduced the issue. It is now filed under #11751 in our issue-tracking DB. When the issue is fixed, you'll find this number in whatsnew.txt.

I suggest that you use ADXExcelTaskPane.WindowObj to get an Excel.Window or Excel.ProtectedViewWindow in which the task pane instance is shown.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Nov, 2017 08:01:07 Top