View Single Post
 
Old 08-22-2016, 06:35 AM
Messias21 Messias21 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Aug 2016
Location: Hamburg, Germany
Posts: 2
Messias21 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
That kind of thing has already been discussed, see, for example posts #9 & #19. As per the discussions in those posts, you could, for example, use code like:
Code:
ActiveDocument.ContentControls(2).Range.Text
ActiveDocument.ContentControls(3).Range.Text
or:
Code:
With ActiveDocument.SelectContentControlsByTitle("ClientDetails")
  .Item(1).Range.Text = StrDetails
  .Item(2).Range.Text = StrDetails
End With
Hey, thanks for the reply.

Is it possible to just use different parts of the string (f.e. Bank1 (Part 1) | abcd1234 (part 2) | Mr. Meyer (Part 3) ) in different contentcontrols?
Reply With Quote