IWorksheetExtension.GetAutomationObject Method
Called by the Visual Studio Tools for Office runtime to get an object that can be used by VBA code in the worksheet that is associated with a document-level project.
Namespace: Microsoft.Office.Tools.Excel
Assembly: 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 worksheet.
Remarks
For more information about this method, see WorksheetBase.GetAutomationObject.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.