VBE Property Example
This example displays the number of references available for the active project.
MsgBox "Number of References = " & VBE.ActiveVBProject _ .References.Count