Version Property

Applies To

VBE object.

Description

Returns a String containing the version of Visual Basic for Applications that the application is using. Read-only.

Remarks

The Version property value is a string beginning with one or two digits, a period, and two digits; the rest of the string is undefined and may contain text or numbers.

See Also

Major property, Minor property.

Example

The following example uses the Version property to return the version number of the host application.

Debug.Print Application.VBE.Version