다음을 통해 공유


IWorkbookExtension.GetAutomationObject Method

Definition

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.

public:
 System::Object ^ GetAutomationObject();
public object GetAutomationObject ();
abstract member GetAutomationObject : unit -> obj
Public Function GetAutomationObject () As Object

Returns

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 Microsoft.Office.Tools.Excel.WorkbookBase.GetAutomationObject.

Applies to