Taskpane in a separate window #5870
Unanswered
edvardasvabuolas-ebiquity
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I've developed an Excel add-in with a taskpane for internal use at our company. It includes a few charts, and sometimes it would be really helpful to display the taskpane fullscreen on a second monitor.
While Excel does let you drag the taskpane into its own window and resize it manually, the window doesn’t have minimize/maximize buttons, and it also doesn't respond to the Windows + Shift + Arrow shortcut for moving windows between monitors.
Ideally, I'd like to find a way to open the taskpane in a completely separate window while still having access to Excel.Context. Alternatively, if that's not possible, maybe I could add a button inside the taskpane that resizes the window to predefined dimensions once it's undocked.
I looked into window.resizeTo(), but it only works on windows created via window.open(), which isn’t the case here. I cannot use window.open() because then I would lose access to Excel.Context.
Has anyone tried something similar like running a taskpane in a separate window or found a good workaround? I'd really appreciate any tips or suggestions.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions