Export (0) Print
Expand All
Expand Minimize

_Document.VBProject property

Returns the VBProject object for the specified template or document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

VBProject VBProject { get; }

Property value

Type: VBProject

Use this property to gain access to code modules and user forms.

To view the VBProject object in the object browser, you must select the Microsoft Visual Basic for Applications Extensibility check box in the References dialog box (Tools menu) in the Visual Basic Editor.

Show:
© 2014 Microsoft