Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Workbook.IsAddin Property

Gets or sets a value that indicates whether the workbook is running as an add-in.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public virtual bool IsAddin { get; set; }

Property Value

true if the workbook is running as an add-in; otherwise, false.

When you set this property to true, the workbook has the following characteristics:

  • You are not prompted to save the workbook if changes are made while the workbook is open.

  • The workbook window is not visible.

  • Any macros in the workbook are not visible in the Macro dialog box (displayed by pointing to Macro on the Tools menu and clicking Macros).

  • Macros in the workbook can still be run from the Macro dialog box even though they are not visible. In addition, macro names do not need to be qualified with the workbook name.

  • Holding down the SHIFT key when you open the workbook has no effect.

Show:
© 2015 Microsoft