![]() |
|
#1
|
|||
|
|||
![]()
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. |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
marksm33 | Word VBA | 3 | 01-15-2015 07:55 PM |
![]() |
marksm33 | Word VBA | 3 | 01-15-2015 05:59 PM |
Adding field in word in header in a bookmark in table with Excel vba Late Binding | Hdr | Excel Programming | 6 | 02-11-2013 02:58 AM |
![]() |
Amapola188 | Word VBA | 3 | 07-12-2012 05:16 PM |
![]() |
LeeFX | Word | 4 | 05-05-2011 05:53 PM |