F
fam.hougaard
In word 2003 i had the following VBA code change the attached template to normal.dot
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = "Normal.dot"
End With
I would like to do the same in Word 2010 but to Nomal.dotm in stead.
However i get an error using the VBA code.
I have also tried:
ActiveDocument.AttachedTemplate = Application.NormalTemplate.FullName
and:
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = Application.NormalTemplate.FullName
End With
But nothing works.
My reason for changing the template, is that we have a company lettet based on a template. However we do not want the macros and the attached template in documents based on the template to be sent customers when we email them.
Any ideas ?
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = "Normal.dot"
End With
I would like to do the same in Word 2010 but to Nomal.dotm in stead.
However i get an error using the VBA code.
I have also tried:
ActiveDocument.AttachedTemplate = Application.NormalTemplate.FullName
and:
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = Application.NormalTemplate.FullName
End With
But nothing works.
My reason for changing the template, is that we have a company lettet based on a template. However we do not want the macros and the attached template in documents based on the template to be sent customers when we email them.
Any ideas ?