Ah - Same idea, but w/Word instead of Access...and it works! :D You're right about the likelihood of someone having a different version of Access than Office (definitely less accurate than Word/Office)...
Thanks Phil!
Cj.
BTW: In case anyone else is wondering...here's the 4 simple lines of code... Also - You can make it remote by giving the name of the machine when you create the app object.
IE:
Set objWord = CreateObject("Word.Application", "Remote_Machine_Name")
4 simple lines:
Set objWord = CreateObject("Word.Application")
Wscript.Echo "Version: " & objWord.Version
Wscript.Echo "Build: " & objWord.Build
objWord.Quit
|