OperatingSystem Property

Applies To

Application Object.

Description

Returns the name and version number of the current operating system. For example, "Windows 3.10" or "Macintosh 7.00". Read-only.

Example

This example displays the name of the operating system.


MsgBox "Microsoft Excel is using " & Application.OperatingSystem