Document.VBProject Property

Definition

Gets the Microsoft.Vbe.Interop.VBProject for the document.

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

Property Value

The Microsoft.Vbe.Interop.VBProject for the document.

Remarks

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

Applies to