For newer versions of Office, Microsoft has made some changes to improve the security of VBA.
- I suggest you go to Word > File > Options > Trust Center > Trust Center Settings > Protected View, untick the box of 'Enabled Protected View for files located in potentially unsafe locations' for a check.
- Besides, you may check the VBA code. Here is a similar thread 'Temporary Word File in ..\INetCache\Content.Word are not trusted - is back', in the comments at the bottom, Leon Pri-Mor said modifying the code to solve this problem.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.