Application.VBE (Word)

Returns a VBE object that represents the Visual Basic Editor.


MsgBox "References = " & VBE.ActiveVBProject.References.Count