Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.19 KB

Access.Reference.Minor.md

File metadata and controls

50 lines (29 loc) · 1.19 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Reference.Minor property (Access)
vbaac10.chm12633
vbaac10.chm12633
Access.Reference.Minor
7c227db9-9b75-92e5-d32d-e3fda027c145
03/23/2019
medium

Reference.Minor property (Access)

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.

Syntax

expression.Minor

expression A variable that represents a Reference object.

Remarks

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

[!includeSupport and feedback]