Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1023 Bytes

Excel.Application.OperatingSystem.md

File metadata and controls

46 lines (26 loc) · 1023 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.OperatingSystem property (Excel)
vbaxl10.chm133187
vbaxl10.chm133187
Excel.Application.OperatingSystem
a36c5080-1d7e-a941-1bad-94f92522c7cf
04/05/2019
medium

Application.OperatingSystem property (Excel)

Returns the name and version number of the current operating system. Read-only String.

For example:

  • "Windows (32-bit) 4.00" or "Macintosh 7.00"

  • "Windows (32-bit) NT 6.02" with Win8.1 (=6.02, 64-bit) and Excel 2013 (15.0.4631.1000, 32-bit)

  • "Windows (64-bit) NT :.00" with Win10 (64-bit) and Excel 2016 (16.0.6326.1010, 64-bit)

Syntax

expression.OperatingSystem

expression A variable that represents an Application object.

Example

This example displays the name of the operating system.

MsgBox "Microsoft Excel is using " & Application.OperatingSystem

[!includeSupport and feedback]