Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
I have a checkbox on a protected form within a complicated table in Word.
When I check the box I want it to box Red and Bold (like conditional formatting in Excel). Is it possible? Andy |
#2
![]()
Posted to microsoft.public.word.tables
|
|||
|
|||
![]()
You cannot change the colour of the checkbox itself, but the following code
in a macro run on exit from the checkbox formfield will colour the cell in which the checkbox is located - Red if it is checked and Green if not. With ActiveDocument .Unprotect With Selection If .FormFields(1).CheckBox.Value = True Then .Cells(1).Shading.BackgroundPatternColor = wdColorRed Else .Cells(1).Shading.BackgroundPatternColor = wdColorGreen End If End With .Protect wdAllowOnlyFormFields, NoReset End With -- Hope this helps, Doug Robbins - Word MVP Please reply only to the newsgroups unless you wish to obtain my services on a paid professional basis. "Andy Roberts" wrote in message ... I have a checkbox on a protected form within a complicated table in Word. When I check the box I want it to box Red and Bold (like conditional formatting in Excel). Is it possible? Andy |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Form Checkbox | Microsoft Word Help | |||
How do I protect the checkbox in my form | New Users | |||
Form fields: IF (checkbox)? | Microsoft Word Help | |||
Form Field Checkbox | Microsoft Word Help | |||
IF THEN ELSE with FORM CHECKBOX | Mailmerge |