View Single Post
 
Old 09-01-2016, 02:55 PM
dfin dfin is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2016
Posts: 3
dfin is on a distinguished road
Default Bookmark - add two merge fields

I've figured out how to insert a merge field in a bookmark as follows:

ActiveDocument.Bookmarks("Clientname").Range.Field s.Add ActiveDocument.Bookmarks("Clientname").Range, wdFieldMergeField, "FIRST_NAME"

What I want to do now is insert two merge fields (plus a space in between), e.g.:

FirstName LastName

How is this done? I've only been able to do it by using two bookmarks so far.

Thanks
Reply With Quote