FreeSoftwareServers
FreeSoftwareServers

Reputation: 2831

Open A Different TaskPane via Current Taskpane - Office-JS

I have two taskpanes that I can open via clicking each button in the UI/Ribbon.

What I'm trying to do is have one button that opens a taskpane and a button in that taskpane that opens up the second taskpane. So far, I can only redirect the current taskpane. Can I somehow open the second taskpane from the first via JS?

This is in Excel.

Upvotes: 2

Views: 334

Answers (1)

Rick Kirkham
Rick Kirkham

Reputation: 9784

You can't literally do that. You can open a dialog from a task pane, but not another task pane. Does your use case require both task panes to be open at the same time? If not, consider creating a tabbed experience inside the task pane; so there's one task pane, but two tabs.

Upvotes: 2

Related Questions