VBE Property Example

This example displays the number of references available for the active project.

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

Send feedback to MSDN.Look here for MSDN Online resources.