Share via


Minor Property [Access 2003 VBA Language Reference]

The Minor property of a Reference object returns a Long value indicating the minor version number of the application to which you have set a reference.

expression.Minor

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

The Minor property is available only by using Visual Basic and is read-only.

The Minor property returns the value to the right of the decimal point in a version number. For example, if you've set a reference to an application whose version number is 2.5, the Minor property returns 5.

Example

The following example displays a message with information about all the references in the current project.

Dim r As Reference
Dim strInfo As String

For Each r In Application.References
    strInfo = strInfo & r.Name & " " & r.Major & "." & r.Minor & vbCrLf
Next

MsgBox "Current References: " & vbCrLf & strInfo

Applies to | Reference Object

See Also | Major Property