Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OperatingSystem Property
Collapse the table of content
Expand the table of content

Application.OperatingSystem Property (Excel)

Returns the name and version number of the current operating system — for example, "Windows (32-bit) 4.00" or "Macintosh 7.00". Read-only String.

expression .OperatingSystem

expression A variable that represents an Application object.

This example displays the name of the operating system.

MsgBox "Microsoft Excel is using " & Application.OperatingSystem
Show:
© 2015 Microsoft