Syntax

expression.Version

expression A variable that represents an Application object.

Example

This example displays a message box that contains the Microsoft Excel version number and the name of the operating system.

Visual Basic for Applications
MsgBox "Welcome to Microsoft Excel version " & _ Application.Version & " running on " & _ Application.OperatingSystem & "!"

See also: