הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
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
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.