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

Workbook.Extension Property

Gets a custom extension for this Workbook object.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

IWorkbookExtension Extension { get; }

Property Value

Type: Microsoft.Office.Tools.Excel.IWorkbookExtension
A custom extension for this Workbook object.

A custom extension is an implementation of the IWorkbookExtension interface in an Excel solution that is created by using the Office development tools in Visual Studio. In document-level projects, this property returns an instance of the generated ThisWorkbook class by default. The ThisWorkbook class implements the IWorkbookExtension interface through the WorkbookBase class. For more information, see Programming Document-Level Customizations.

Show:
© 2015 Microsoft