Check to ensure that Word is actually installed on the machine and not Office 365 "in the cloud."
Check that you are running the 32-bit version of Word and not the 64-bit one: http://www.howtogeek.com/howto/24259/beginner-discover-if-youre-running-the-...
On Mon, Dec 5, 2016 at 12:10 PM, Richard Kaye rkaye@invaluable.com wrote:
Whilst I bang away at this on my own I figured I should throw it out to the collective wisdom. I noticed recently that both CreateObject and NewObject are failing to instantiate an object for Word 2016. GetObject works fine to retrieve a running instance. Excel works fine.
oo=CREATEOBJECT([word.application])
results in OLE error code 0x80080005: Server execution failed.
Google fu has failed me so far. If anyone here has had success automating Word 2016, please share your magic tricks.
Thanks.
--
rk
[excessive quoting removed by server]