Search code examples
office-jsoffice-addins

Run add-in without showing taskpane?


I have an add-in working (on Word for Mac). All functionality runs in the background, so there is no interaction with the UI exposed in the taskpane. However, if I close the taskpane, the add-in functionality is removed.

Is there a way to remove the taskpane so that the add-in functionality will run in the background? Currently, the taskpane is just a waste of screen space...

Thanks for any help!


Solution

  • There's no way of doing that unfortunately. Suresh's answer is referring to Function Files and add-in commands, but that requires manual invocation and doesn't support the background tasks.

    That means - if you want a user action to do something but no real UI is needed / Functions are the way to go. But if you want a background process running (checking if something has changed periodically) - you'll need the TaskPane.