Do the templates have names?
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
If ActiveDocument.AttachedTemplate.Name = "Name of the template I don't want to unlink fields in.dotm" Then
'don't unlink fields
Else
Unlink Fields
End If
lbl_Exit:
Exit Sub
End Sub
|