View Single Post
 
Old 02-06-2015, 04:15 PM
ChrisDevrell ChrisDevrell is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: May 2012
Location: Southampton
Posts: 3
ChrisDevrell is on a distinguished road
Default

Thanks Paul

That works a treat.

Inserting a bookmark was a general idea and I wanted to make it work for inserting autotext without damaging the header and your code works the same there:

Dim Rng As Range
Set Rng = ActiveDocument.Sections(1).Headers(wdHeaderFooterP rimary).Range
Rng.Collapse wdCollapseStart
ThisDocument.AttachedTemplate.AutoTextEntries("_Cl assificationStatus").Insert RichText:=True, where:=Rng

Thanks again
Chris.
Reply With Quote