Muokkaa

Jaa


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 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 & "!"

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.