Header / Footer mail merge issue with custom built word automation solution.
Hi Cindy
Thanks again for going the extra yards. I'll look at implmenting this
in the coming weeks (other bigger fires to deal with now).
take care
JS
Then loop. In the loop, write the text to Bookmark.Range.Text (which
should remove the mergefield on the first pass), and then recreate the
bookmark so that it will always be there. Very roughly, in VBA-speak:
Dim rng as Word.Range
Dim bkmName as String
Set rng = document.Bookmarks(bkmName).Range
rng.Text = "the data"
document.Bookmarks.Add Name:=bkmName, Range:=rng
|