Office.StartupBehavior enum

Provides options to determine the startup behavior of the add-in upon next start-up.

Remarks

Examples

// Configure your add-in to load and start running when the document is opened.
Office.addin.setStartupBehavior(Office.StartupBehavior.load);

Fields

load = 'Load'

Load the add-in but do not show UI.

none = 'None'

The add-in does not load until opened by the user.