Highlight all editable areas/input fields in a template? (Word 200

L

Louverril

Is there any way to highlight all the rich text content controls in a Word
Template so the user can easily see what he/she needs to enter or what they
have already entered?

The current light grey pre editing text doesn't stand out much and after
editing you can't easily pick out where you have made changes.

I thought of doing something like this (below) but is there an easier way?

Sub SetTitleForContentControl()
'use to highlight to be altered/altered text in a template - could add reverse
'on button. Will need to refer to all controls.
Dim objCC As ContentControl
Dim strhighlight As String
strhighlight = "Intense Reference"
Set objCC = ActiveDocument.ContentControls _
.Add(wdContentControlText)
objCC.Title = "Please enter your name"
objCC.DefaultTextStyle = strhighlight

End Sub

Thanks Lou
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top