My OS is windows I don't know what this function will return in non
WIN OS.
Further you may get OS version,Build etc from registry
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion) but
VBA can't help in this you may use batch technique (Reg command) or
use VB scripting (Regread)
(Search net as many sample code may be alreday there.)