Application.Version Property (Excel)

Returns a String value that represents the Microsoft Excel version number.

Syntax

expression. Version

expression A variable that represents an [Application](./Excel.Application(Graph property).md) object.

Example

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

MsgBox "Welcome to Microsoft Excel version " &; _ 
 Application.Version &; " running on " &; _ 
 Application.OperatingSystem &; "!"

See also

Application Object