Using check box form fields in Word forumulas

B

Becky

I have a Word document containing form fields. If check box 5 is checked
(true) I want the following text to display to the right of the check box
field: If revising, check all items to be revised:

It would be great if I could format the font with a blinking background but
not absolutely necessary.

Is this possible? If so, what would the formula be? Could the text be
saved as AutoText and inserted somehow in the formula? Should I run a Macro?

Please help,
Becky
 
D

Doug Robbins - Word MVP

Running a macro containing the following code (amended so that the names of
the formfields match those that you are using) on exit from the check box
will display the desired text in a text formfield that you can position to
the right of the checkbox. That formfield should have the tick removed from
the Fill in enabled box in its properties dialog:

With ActiveDocument
If .FormFields("Check1").CheckBox.Value = True Then
.FormFields("Text1").Result = "If revising, check all items to be
revised:"
Else
.FormFields("Text1").Result = ""
End If
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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