youngso
Technical User
- Nov 17, 2009
- 2
Here is quick and simple method to check office version via VBS?
Set objWord = CreateObject("Word.Application")
Select Case objWord.Version
Case "12.0" MsgBox ("Office 2007 is installed")
Case "11.0" MsgBox ("Office 2003 is installed")
Case "10.0" MsgBox ("Office 2000 is installed")
End Select
objWord.Quit
Or you could create a function out the above action to do other things.
Set objWord = CreateObject("Word.Application")
Select Case objWord.Version
Case "12.0" MsgBox ("Office 2007 is installed")
Case "11.0" MsgBox ("Office 2003 is installed")
Case "10.0" MsgBox ("Office 2000 is installed")
End Select
objWord.Quit
Or you could create a function out the above action to do other things.