IWorkbookExtension.GetAutomationObject Method

Called 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.

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)

Syntax

'Declaration
Function GetAutomationObject As Object
Object GetAutomationObject()

Return Value

Type: System.Object
An object in a document-level customization that can be used by VBA code in the workbook.

Remarks

For more information about this method, see WorkbookBase.GetAutomationObject.

.NET Framework Security

See Also

Reference

IWorkbookExtension Interface

Microsoft.Office.Tools.Excel Namespace