Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.