Temporary Word File in ..\INetCache\Content.Word are not trusted - is back

Leon Pri-Mor 56 Reputation points
2022-09-05T07:41:00.27+00:00

Problem- described here:
https://social.technet.microsoft.com/forums/lync/en-US/ca6af12f-26d9-42c1-acd9-28ef57c7f7c2/temporary-word-file-in-inetcachecontentword-are-not-trusted?forum=word

Is back, my client suddenly cannot open template that have macros.
Usually the macros are in Normal.dotm

Getting Error: ".\INetCache\Content.Word are not trusted"

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Developer technologies | Visual Basic for Applications
{count} votes

4 answers

Sort by: Most helpful
  1. Ceasar Chen_MSFT 4,481 Reputation points
    2022-09-06T01:34:43.277+00:00

    Hi, @Leon Pri-Mor
    Whether the location is added as a trusted location in Word, whether the dialog box allows all macros is checked.
    Also, if you are installing a 64-bit version of Office, it is recommended to uninstall the 64-bit version to install the 32-bit version.
    237973-image.png
    238003-image.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

  2. Leon Pri-Mor 56 Reputation points
    2022-09-06T13:06:18.127+00:00

    Ceasar Hi.
    Thank you for the answer.

    All the macros enabled and the trusted location for templates set.

    What I've discovered is that if you have a document that's not a template but do have macros, coping it from one directory to other fires this alarm.
    Some of the documents with macros are in old "doc" format some "docx".

    Setting trusted location to those libraries doesn't help. And it's not realistic do it-Many of my client have thousand's of folder and some times up to 15 logical drives.


  3. Lauro Colasanti 121 Reputation points
    2023-11-27T12:04:30.3966667+00:00

    I have a very similar problem but in a stranger situation.

    The alarm notice is popping up only when I open a second file from an Access form with an OLE Linked Object Frame with a Word document. The first file is OK. Same trusted location.

    Allowing all macros in trust center will not help!!!

    immagine

    0 comments No comments

  4. Lauro Colasanti 121 Reputation points
    2023-11-27T19:07:41.02+00:00

    Hi, some update.

    If the Word files in the Ole BoundObjectFrame of Access are opened using the normal double click inside the control everything it's fine.

    If the Word files are opened by the following simple VBA code, the first file opens correctly, the second one rises the security warnings.

    The code:

    sFileName = Me.txtFileName   
    On Error Resume Next
    Set objWordApp = GetObject("Word.Application")
    If Err.Number <> 0 Then Set objWordApp = CreateObject("Word.Application")
    On Error GoTo 0
    With objWordApp   
    .Visible = True   
    .Activate   
    .Documents.Open sFileName
    End With 
    Set objWordApp = Nothing
    
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.