Export (0) Print
Expand All

IWorkbookExtension Interface

Represents an extension of a Workbook object.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

[GuidAttribute("96F7913D-8AE2-45B8-AA88-64C265F3BDC9")]
public interface IWorkbookExtension : IExtension, 
	EntryPoint

The IWorkbookExtension type exposes the following members.

  NameDescription
Public propertyExtensionBaseGets the object that is being extended by this IExtension. (Inherited from IExtension.)
Top

  NameDescription
Public methodBeginInit (Inherited from EntryPoint.)
Public methodCreateRibbonExtensibilityObjectReturns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface.
Public methodCreateRibbonObjectsReturns an array of IRibbonExtension objects that represent the Ribbon (Visual Designer) items to display in Excel at run time.
Public methodEndInit (Inherited from EntryPoint.)
Public methodFinishInitialization (Inherited from EntryPoint.)
Public methodGetAutomationObjectCalled by the Visual Studio Tools for Office runtime to get an object that can be used by VBA code in the workbook that is associated with a document-level project.
Public methodInitialize (Inherited from EntryPoint.)
Public methodInitializeDataBindings (Inherited from EntryPoint.)
Public methodOnShutdown (Inherited from EntryPoint.)
Public methodOnStartup (Inherited from EntryPoint.)
Public methodProtectDocumentCalled by the Visual Studio Tools for Office runtime to give developers an opportunity to reapply password protection to the workbook in a document-level project after the cached data has been saved.
Public methodRequestServiceReturns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface.
Public methodUnprotectDocumentCalled by the Visual Studio Tools for Office runtime to give developers an opportunity to remove password protection from the workbook in a document-level project and enable cached data to be saved.
Top

The IWorkbookExtension interface defines a set of members that extend the functionality of Workbook objects.

The IWorkbookExtension interface is implemented by the WorkbookBase class. This is the base class for the generated ThisWorkbook class in document-level projects. For more information, see Programming Document-Level Customizations.

Show:
© 2014 Microsoft