Major Property
Applies To
Reference object.
Description
Returns a Long containing the major version number of the referenced type library. Read-only.
Remarks
The number returned by the Major property corresponds to the major version number stored in the type library to which you have set the reference.
See Also
Minor property, Version property.
Example
The following example uses the Major property to return the major version number of the specified Reference object in a particular project.
Debug.Print Application.VBE.VBProjects(1).References(1).Major