View Single Post
 
Old 11-22-2014, 08:30 AM
ptmuldoon ptmuldoon is offline Windows 7 64bit Office 2013
Advanced Beginner
 
Join Date: Sep 2014
Posts: 93
ptmuldoon is on a distinguished road
Default

Doing as much reading as I can as well.

All I do is just open the template, and I see the Saved property in VBA changes to False.

It may be better to move the topic over to the Word VBA area, as thay may be the only way to stop the prompts. But I've added the below macro in trying to troubleshoot, and still not working

Code:
Sub Test()
'Dim Doc As Document
'For Each Doc In Documents
'  MsgBox Doc.AttachedTemplate.Name & vbTab & Doc.AttachedTemplate.Saved
'Next
Dim Tmplt As Template
For Each Tmplt In Templates
  MsgBox Tmplt.Name & vbTab & Tmplt.Saved
Next
End Sub

Private Sub Document_Open()

    Dim Tmplt As Template

    For Each Tmplt In Templates
        ActiveDocument.AttachedTemplate.Saved = True
    Next
   ' MsgBox "Greetings"
End Sub
Reply With Quote