This example displays the Word version number in a message box.
Msgbox "The version of Word is " & Application.Version
This example displays the version number of the operating system in a message box.
Msgbox "The system version is " & System.Version