Script that determines which version of Microsoft Word is installed on a computer. The script also returns the build number and product code for Word.

Visual Basic
Edit|Remove
Set objWord = CreateObject("Word.Application")
Wscript.Echo "Version: " & objWord.Version
Wscript.Echo "Build: " & objWord.Build
Wscript.Echo "Product Code: " & _
    objWord.ProductCode()
objWord.Quit