Syntax

expression.OperatingSystem

expression A variable that represents an Application object.

Example

This example displays the name of the operating system.

Visual Basic for Applications
MsgBox "Microsoft Excel is using " & Application.OperatingSystem
operating operating system Operating System Property OperatingSystem operatingsystem property Retrieve operating system identification? Return name and version number of the current operating system?

See also: