_Application.MacroContainer Property
Returns a Template or Document object that represents the template or document in which the module that contains the running procedure is stored.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Property MacroContainer As Object
Get
'Usage
Dim instance As _Application
Dim value As Object
value = instance.MacroContainer
Object MacroContainer { get; }
Property Value
Type: System.Object