Expand Minimize
This topic has not yet been rated - Rate this topic

Document.GetAutomationObject Method (2007 System)

Visual Studio 2008

Called by the Visual Studio Tools for Office runtime to get an object that can be used by VBA code in the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
protected virtual Object GetAutomationObject()

Return Value

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

Override this method to return an instance of a class that you have exposed to VBA code in the document. For more information, see Calling Code in Document-Level Customizations from VBA.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.