_Document.VBProject _Document.VBProject _Document.VBProject Property

Definition

Returns the VBProject object for the specified template or document.

public:
 property Microsoft::Vbe::Interop::VBProject ^ VBProject { Microsoft::Vbe::Interop::VBProject ^ get(); };
public Microsoft.Vbe.Interop.VBProject VBProject { get; }
Public ReadOnly Property VBProject As VBProject
Property Value
Microsoft.Vbe.Interop.VBProject Microsoft.Vbe.Interop.VBProject Microsoft.Vbe.Interop.VBProject

Remarks

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.

Applies to