Jfp87
09-25-2017, 02:48 AM
Guys,
As part of my template addin (MyTemplateAddin.dotm), Building Blocks are modified in the template itself. Is there any way I can suppress the following message when closing word:
"You have modified styles, building blocks (such as cover pages or headers) or other content that is stored in MyTemplateAddin.dotm........"
Any modification to the Building Blocks needs to be stored, which I can force using:
Sub AutoExit()
With Templates(ThisDocument.FullName)
.Saved = True
.Save
End With
End Sub
Ideally though, I would like to suppress the prompt above. Any ideas or workarounds?
Joe
As part of my template addin (MyTemplateAddin.dotm), Building Blocks are modified in the template itself. Is there any way I can suppress the following message when closing word:
"You have modified styles, building blocks (such as cover pages or headers) or other content that is stored in MyTemplateAddin.dotm........"
Any modification to the Building Blocks needs to be stored, which I can force using:
Sub AutoExit()
With Templates(ThisDocument.FullName)
.Saved = True
.Save
End With
End Sub
Ideally though, I would like to suppress the prompt above. Any ideas or workarounds?
Joe