I've developed an application-level add-in for Word, and encountered the following problem:
When another document is opened (and another Word Window appears), I cannot use the Add-In in the newly-opened window. Moreoever, when I click the button in the Ribbon that should display the Add-In, it's getting displayed in the original window, and not the new one.
How can I make the Add-In appear also in the new Window?
Thanks!
UPDATE: After realizing the question was not clear enough, let me clarify:
The Add-In displays custom task pane. What happens is that when I open a new window of Word, the button that displays / hide the pane affects only the original window, and not the new one, so I cannot display two instances of the task pane.
Why is that? How can I display multiple task panes in Word?
Globals.ThisAddIn.Application.ActiveDocument.Content.InsertAfter("yes");
which successfully adds text to the appropriate window. so maybe if you could share the code you are calling the add-in that appears. I could help more – RadioSpace