OperatingSystem Property

Microsoft PowerPoint Visual Basic

OperatingSystem Property

       

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

Example

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

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