I am running this code in VBA Excel 365 using Windows 11
Sub test()
Dim sBuild As String, sOP As String, sVersion As String
sBuild = Application.Build
sOP = Application.OperatingSystem
sVersion = Application.Version
MsgBox "Operating System " & sOP & " with Office version " & sVersion & " Build " & sBuild
End Sub
However, I get this message "Operating System Windows (64-bit) NT 10.00 with Office version 16.0 Build 15028"
The properties Application.Version and Application.OperatingSystem shows the same results as if I was running in Excel 2016 and using Windows 10.
Any suggestion to get the real Office and Windows version?
Thank you.
Manuel