I have an Access 2016 application that creates an instance of Word in order to create new documents based on templates. It works fine in 32 bit Office, but recently in 64 bit Office it works once to create a single document, but if Word is already running when I try to run it a second time I get the following:
Word has blocked macros from running because the source of the file is untrusted - citing the following file...
C:\Users\pete\AppData\Local\Microsoft\Windows\INetCache\Content.Word\~WRC1714.tmp
This happens when the Access code attempts to run:
Set WordApp = CreateObject("Word.Application")
In 32 bit Office I can run this as many times as I want and have many documents open. This problem only seems to apply to 64 bit Office and only if Word is already running - it works fine once, and then errors on the next attempt. If you then close down Word it'll work. I think this is a recent issue (last month or so) and is probably a consequence of a Windows or Office 365 update. HELP!!!!
Pete