I have a content control on a template, which has the placeholder text in bold. I used design mode to get the text into bold in the first place.
I am trying to create a code that will change the placeholder text (based on options in a userform), but retain the bold formatting.
The code below changed the text, but the bold formatting is lost. What do I need to add to control the formatting?
Code:
Sub ChangePlaceholder()
Dim objCC As ContentControl
Set objCC = ActiveDocument.SelectContentControlsByTag("myContentControl").Item(1)
objCC.SetPlaceholderText , , "New Placeholder Text"
End Sub