Hello

As you know we have two types of check boxs. One that is comming from
Control toolbox toolbar and another that is on Form toolbar.

My question is for the Check box that come from Froms toolbar not the other
one. This is the Check box that when you check it a cross like X will be
displayed on it. Other one "Control Toolbox" only a tick mark is shown.

Does anybody know how to set and unset this check box using VB or Macro? I
need to set this via Macro because it looks better when it is checed compare
to the check box that is comming from Control toolbox toolbar.


--
Jeff B Paarsa

Re: Check box form Feild by Doug

Doug
Thu Jun 29 22:54:45 CDT 2006

The following code will toggle the state of the checkbox formfield to which
the bookmark Check1 is assigned:

With ActiveDocument.FormFields("Check1").CheckBox
If .Value = True Then
.Value = False
Else
.Value = True
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

"Jeffery B Paarsa" <JeffBPaarsa@Yahoo.com> wrote in message
news:30FC1816-5E87-48B8-A47D-DFDEC4609BE0@microsoft.com...
> Hello
>
> As you know we have two types of check boxs. One that is comming from
> Control toolbox toolbar and another that is on Form toolbar.
>
> My question is for the Check box that come from Froms toolbar not the
> other
> one. This is the Check box that when you check it a cross like X will be
> displayed on it. Other one "Control Toolbox" only a tick mark is shown.
>
> Does anybody know how to set and unset this check box using VB or Macro?
> I
> need to set this via Macro because it looks better when it is checed
> compare
> to the check box that is comming from Control toolbox toolbar.
>
>
> --
> Jeff B Paarsa



Re: Check box form Feild by JeffBPaarsa

JeffBPaarsa
Fri Jun 30 08:41:03 CDT 2006

It seems that this can only works for the checkbox created from Control field
toolbar not the checkbox created from the form field tool bar. If you
display both toolbars you will see that both of them has checkbox which they
are identical in shape. Checkbox created from Control Toolbar has properties
and you can set the value to True and False and usually when this checkbox is
checked you will see â?? in it but checkbox created from form toolbar does not
have properties and when you click on it a dialog box is opend that you can
select between "checked" and "not checked". This check box when is checked
you will see a X inside the checkbox. I am trying to use the checkbox that
has been created from Form Tool bar not the one that can be created from
Control toolbar. Thanks for the response.
--
Jeff B Paarsa


"Doug Robbins - Word MVP" wrote:

> The following code will toggle the state of the checkbox formfield to which
> the bookmark Check1 is assigned:
>
> With ActiveDocument.FormFields("Check1").CheckBox
> If .Value = True Then
> .Value = False
> Else
> .Value = True
> 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
>
> "Jeffery B Paarsa" <JeffBPaarsa@Yahoo.com> wrote in message
> news:30FC1816-5E87-48B8-A47D-DFDEC4609BE0@microsoft.com...
> > Hello
> >
> > As you know we have two types of check boxs. One that is comming from
> > Control toolbox toolbar and another that is on Form toolbar.
> >
> > My question is for the Check box that come from Froms toolbar not the
> > other
> > one. This is the Check box that when you check it a cross like X will be
> > displayed on it. Other one "Control Toolbox" only a tick mark is shown.
> >
> > Does anybody know how to set and unset this check box using VB or Macro?
> > I
> > need to set this via Macro because it looks better when it is checed
> > compare
> > to the check box that is comming from Control toolbox toolbar.
> >
> >
> > --
> > Jeff B Paarsa
>
>
>

Re: Check box form Feild by Doug

Doug
Fri Jun 30 13:37:09 CDT 2006

No, you have that back to front. The code works with the CheckBox type
FormField that is inserted from the toolbar that is displayed when you
select Forms from the list of toolbars under View>Toolbars

--
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

"Jeffery B Paarsa" <JeffBPaarsa@Yahoo.com> wrote in message
news:FD28BFEB-D316-48B6-AE85-7BD94BDF0744@microsoft.com...
> It seems that this can only works for the checkbox created from Control
> field
> toolbar not the checkbox created from the form field tool bar. If you
> display both toolbars you will see that both of them has checkbox which
> they
> are identical in shape. Checkbox created from Control Toolbar has
> properties
> and you can set the value to True and False and usually when this checkbox
> is
> checked you will see ? in it but checkbox created from form toolbar does
> not
> have properties and when you click on it a dialog box is opend that you
> can
> select between "checked" and "not checked". This check box when is
> checked
> you will see a X inside the checkbox. I am trying to use the checkbox
> that
> has been created from Form Tool bar not the one that can be created from
> Control toolbar. Thanks for the response.
> --
> Jeff B Paarsa
>
>
> "Doug Robbins - Word MVP" wrote:
>
>> The following code will toggle the state of the checkbox formfield to
>> which
>> the bookmark Check1 is assigned:
>>
>> With ActiveDocument.FormFields("Check1").CheckBox
>> If .Value = True Then
>> .Value = False
>> Else
>> .Value = True
>> 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
>>
>> "Jeffery B Paarsa" <JeffBPaarsa@Yahoo.com> wrote in message
>> news:30FC1816-5E87-48B8-A47D-DFDEC4609BE0@microsoft.com...
>> > Hello
>> >
>> > As you know we have two types of check boxs. One that is comming from
>> > Control toolbox toolbar and another that is on Form toolbar.
>> >
>> > My question is for the Check box that come from Froms toolbar not the
>> > other
>> > one. This is the Check box that when you check it a cross like X will
>> > be
>> > displayed on it. Other one "Control Toolbox" only a tick mark is
>> > shown.
>> >
>> > Does anybody know how to set and unset this check box using VB or
>> > Macro?
>> > I
>> > need to set this via Macro because it looks better when it is checed
>> > compare
>> > to the check box that is comming from Control toolbox toolbar.
>> >
>> >
>> > --
>> > Jeff B Paarsa
>>
>>
>>



Re: Check box form Feild by JeffBPaarsa

JeffBPaarsa
Fri Jun 30 14:03:02 CDT 2006

Yes you were right... Thank you for the advice.
--
Jeff B Paarsa


"Doug Robbins - Word MVP" wrote:

> No, you have that back to front. The code works with the CheckBox type
> FormField that is inserted from the toolbar that is displayed when you
> select Forms from the list of toolbars under View>Toolbars
>
> --
> 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
>
> "Jeffery B Paarsa" <JeffBPaarsa@Yahoo.com> wrote in message
> news:FD28BFEB-D316-48B6-AE85-7BD94BDF0744@microsoft.com...
> > It seems that this can only works for the checkbox created from Control
> > field
> > toolbar not the checkbox created from the form field tool bar. If you
> > display both toolbars you will see that both of them has checkbox which
> > they
> > are identical in shape. Checkbox created from Control Toolbar has
> > properties
> > and you can set the value to True and False and usually when this checkbox
> > is
> > checked you will see ? in it but checkbox created from form toolbar does
> > not
> > have properties and when you click on it a dialog box is opend that you
> > can
> > select between "checked" and "not checked". This check box when is
> > checked
> > you will see a X inside the checkbox. I am trying to use the checkbox
> > that
> > has been created from Form Tool bar not the one that can be created from
> > Control toolbar. Thanks for the response.
> > --
> > Jeff B Paarsa
> >
> >
> > "Doug Robbins - Word MVP" wrote:
> >
> >> The following code will toggle the state of the checkbox formfield to
> >> which
> >> the bookmark Check1 is assigned:
> >>
> >> With ActiveDocument.FormFields("Check1").CheckBox
> >> If .Value = True Then
> >> .Value = False
> >> Else
> >> .Value = True
> >> 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
> >>
> >> "Jeffery B Paarsa" <JeffBPaarsa@Yahoo.com> wrote in message
> >> news:30FC1816-5E87-48B8-A47D-DFDEC4609BE0@microsoft.com...
> >> > Hello
> >> >
> >> > As you know we have two types of check boxs. One that is comming from
> >> > Control toolbox toolbar and another that is on Form toolbar.
> >> >
> >> > My question is for the Check box that come from Froms toolbar not the
> >> > other
> >> > one. This is the Check box that when you check it a cross like X will
> >> > be
> >> > displayed on it. Other one "Control Toolbox" only a tick mark is
> >> > shown.
> >> >
> >> > Does anybody know how to set and unset this check box using VB or
> >> > Macro?
> >> > I
> >> > need to set this via Macro because it looks better when it is checed
> >> > compare
> >> > to the check box that is comming from Control toolbox toolbar.
> >> >
> >> >
> >> > --
> >> > Jeff B Paarsa
> >>
> >>
> >>
>
>
>