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

Re: Form field check box by Karl

Karl
Fri Jan 11 14:19:14 PST 2008

cc wrote:
> 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.

Did you have a question? What have you tried?
--
.NET: It's About Trust!
http://vfred.mvps.org



Re: Form field check box by Greg

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



Re: Form field check box by Karl

Karl
Mon Jan 14 15:21:53 PST 2008

Greg Maxey wrote:
> As Karl points out, it is considered polite to ask a question.

Well, not sure "polite" is the right word; "articulate" might be closer.

I don't think many folks here want to spend time guessing what people's problems
are. It's also nice to feel that an OP has at least *tried* finding their own
answer.
--
.NET: It's About Trust!
http://vfred.mvps.org