N
Ness
I have an attached template that i send all the autotext entries out to the
attached template from the normal on exit (as our normal template is
protected). The ony problem I have is that it asks to save this template.
I want it to exit without asking for the save.
My code is below:
If Windows.Count = 1 Then
Application.ScreenUpdating = False
For Each atentry In _
ActiveDocument.AttachedTemplate.AutoTextEntries
Application.OrganizerCopy _
Source:=ActiveDocument.AttachedTemplate.FullName, _
Destination:="c:\autotext.dot", Name:=atentry.Name, _
Object:=wdOrganizerObjectAutoText
Next atentry
End If
activedocument.save
Please help!
attached template from the normal on exit (as our normal template is
protected). The ony problem I have is that it asks to save this template.
I want it to exit without asking for the save.
My code is below:
If Windows.Count = 1 Then
Application.ScreenUpdating = False
For Each atentry In _
ActiveDocument.AttachedTemplate.AutoTextEntries
Application.OrganizerCopy _
Source:=ActiveDocument.AttachedTemplate.FullName, _
Destination:="c:\autotext.dot", Name:=atentry.Name, _
Object:=wdOrganizerObjectAutoText
Next atentry
End If
activedocument.save
Please help!