Application.OperatingSystem Property

PowerPoint Developer Reference

Returns the name of the operating system. Read-only.

Syntax

expression.OperatingSystem

expression   A variable that represents an Application object.

Return Value
String

Example

This example tests the OperatingSystem property to see whether Microsoft Office PowerPoint is running with a 32-bit version of Microsoft Windows.

Visual Basic for Applications
  os = Application.OperatingSystem
If InStr(os, "Windows (32-bit)") <> 0 Then
    MsgBox "Running a 32-bit version of Microsoft Windows"
End If

See Also