Greg
Fri Jan 11 21:15:23 PST 2008
As Karl points out, it is considered polite to ask a question. That said,
you can't get what you want with a form field. In a typical user
environment Word has no concept of the state of a formfield checkbox while
it has the focus (i.e., you can check and uncheck a checkbox until the cows
come home and Word won't know the difference). You can use a macro to
evaulate the state of a formfield checkbox when it is entered or exited.
You can disable other checkboxes on exit or on entry to a specific checkbox,
but the disabled boxes will just be disabled. They are not dimmed:
Sub OnExitCB1()
Dim oFFs As FormFields
Set oFFs = ActiveDocument.FormFields
If oFFs("Check1").CheckBox.Value = True Then
oFFs("Check2").Enabled = False
oFFs("Check3").Enabled = False
oFFs("Check4").Enabled = False
Else
oFFs("Check2").Enabled = True
oFFs("Check3").Enabled = True
oFFs("Check4").Enabled = True
End If
End Sub
--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
cc wrote:
> Hi,
>
> I'm working on a form in Word 2000. If the user checks a check box
> (chk2a), I want three check boxes in the form to be disabled (chk3a,
> chk3b, chk3c). I want them to be dimmed and disabled.
>
> Thanks.
>
> cc