Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Fri, 10 Oct 2008 13:20:02 -0700,    group: microsoft.public.word.docmanagement        back       


Checkboxes in Templates   
I am creating a template and I have fields that when filled in also fill in 
other fields through out my document.  I also have some checkboxes.  Is there 
was way that when a box is checked that other boxes further down in the 
template will also automatically be checked.
date: Fri, 10 Oct 2008 13:20:02 -0700   author:   Erika

Re: Checkboxes in Templates   
Run a macro on exit from the checkbox that sets the .CheckBox.Value of the 
other checkboxes to the .CheckBox.Value of the checkbox from which you are 
exiting.

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

"Erika"  wrote in message 
news:C305F700-1AE0-41B3-A0BA-4C1F660FF55F@microsoft.com...
>I am creating a template and I have fields that when filled in also fill in
> other fields through out my document.  I also have some checkboxes.  Is 
> there
> was way that when a box is checked that other boxes further down in the
> template will also automatically be checked.
date: Sat, 11 Oct 2008 08:04:25 +1000   author:   Doug Robbins - Word MVP

Re: Checkboxes in Templates   
Thank you for your help, could you assist me in how I get this set up.

"Doug Robbins - Word MVP" wrote:

> Run a macro on exit from the checkbox that sets the .CheckBox.Value of the 
> other checkboxes to the .CheckBox.Value of the checkbox from which you are 
> exiting.
> 
> -- 
> 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
> 
> "Erika"  wrote in message 
> news:C305F700-1AE0-41B3-A0BA-4C1F660FF55F@microsoft.com...
> >I am creating a template and I have fields that when filled in also fill in
> > other fields through out my document.  I also have some checkboxes.  Is 
> > there
> > was way that when a box is checked that other boxes further down in the
> > template will also automatically be checked. 
> 
> 
>
date: Mon, 13 Oct 2008 10:41:06 -0700   author:   Erika

Re: Checkboxes in Templates   
The following code will set the CheckBoxes to which the bookmark names 
Check2 and Check3 are assigned to the value of the CheckBox to which the 
bookmark Check1 is assigned if it is run on exit from the Check1 CheckBox

With ActiveDocument
    .FormFields("Check2").CheckBox.Value = 
.FormFields("Check1").CheckBox.Value
    .FormFields("Check3").CheckBox.Value = 
.FormFields("Check1").CheckBox.Value
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

"Erika"  wrote in message 
news:08FB0150-3AFD-48F7-8351-834C9DEDD9FC@microsoft.com...
> Thank you for your help, could you assist me in how I get this set up.
>
> "Doug Robbins - Word MVP" wrote:
>
>> Run a macro on exit from the checkbox that sets the .CheckBox.Value of 
>> the
>> other checkboxes to the .CheckBox.Value of the checkbox from which you 
>> are
>> exiting.
>>
>> -- 
>> 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
>>
>> "Erika"  wrote in message
>> news:C305F700-1AE0-41B3-A0BA-4C1F660FF55F@microsoft.com...
>> >I am creating a template and I have fields that when filled in also fill 
>> >in
>> > other fields through out my document.  I also have some checkboxes.  Is
>> > there
>> > was way that when a box is checked that other boxes further down in the
>> > template will also automatically be checked.
>>
>>
>>
date: Tue, 14 Oct 2008 08:43:07 +1000   author:   Doug Robbins - Word MVP

Re: Checkboxes in Templates   
I have followed your instructions I have check1, check2 and check3 set up and 
I have the macro set to run on exit of check1.

It keeps erroring on the first line of code
  .FormFields("Check2").CheckBox.Value =

"Doug Robbins - Word MVP" wrote:

> The following code will set the CheckBoxes to which the bookmark names 
> Check2 and Check3 are assigned to the value of the CheckBox to which the 
> bookmark Check1 is assigned if it is run on exit from the Check1 CheckBox
> 
> With ActiveDocument
>     .FormFields("Check2").CheckBox.Value = 
> ..FormFields("Check1").CheckBox.Value
>     .FormFields("Check3").CheckBox.Value = 
> ..FormFields("Check1").CheckBox.Value
> 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
> 
> "Erika"  wrote in message 
> news:08FB0150-3AFD-48F7-8351-834C9DEDD9FC@microsoft.com...
> > Thank you for your help, could you assist me in how I get this set up.
> >
> > "Doug Robbins - Word MVP" wrote:
> >
> >> Run a macro on exit from the checkbox that sets the .CheckBox.Value of 
> >> the
> >> other checkboxes to the .CheckBox.Value of the checkbox from which you 
> >> are
> >> exiting.
> >>
> >> -- 
> >> 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
> >>
> >> "Erika"  wrote in message
> >> news:C305F700-1AE0-41B3-A0BA-4C1F660FF55F@microsoft.com...
> >> >I am creating a template and I have fields that when filled in also fill 
> >> >in
> >> > other fields through out my document.  I also have some checkboxes.  Is
> >> > there
> >> > was way that when a box is checked that other boxes further down in the
> >> > template will also automatically be checked.
> >>
> >>
> >> 
> 
> 
>
date: Wed, 15 Oct 2008 06:12:05 -0700   author:   Erika

Re: Checkboxes in Templates   
The lines have broken in the mail. You need to rejoin the lines for it to 
work or use the following

With ActiveDocument
    .FormFields("Check2").CheckBox.Value = _
        .FormFields("Check1").CheckBox.Value
    .FormFields("Check3").CheckBox.Value = _
        .FormFields("Check1").CheckBox.Value
End With

See http://www.gmayor.com/installing_macro.htm



-- 
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>



Erika wrote:
> I have followed your instructions I have check1, check2 and check3
> set up and I have the macro set to run on exit of check1.
>
> It keeps erroring on the first line of code
>  .FormFields("Check2").CheckBox.Value =
>
> "Doug Robbins - Word MVP" wrote:
>
>> The following code will set the CheckBoxes to which the bookmark
>> names Check2 and Check3 are assigned to the value of the CheckBox to
>> which the bookmark Check1 is assigned if it is run on exit from the
>> Check1 CheckBox
>>
>> With ActiveDocument
>>     .FormFields("Check2").CheckBox.Value =
>> ..FormFields("Check1").CheckBox.Value
>>     .FormFields("Check3").CheckBox.Value =
>> ..FormFields("Check1").CheckBox.Value
>> 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
>>
>> "Erika"  wrote in message
>> news:08FB0150-3AFD-48F7-8351-834C9DEDD9FC@microsoft.com...
>>> Thank you for your help, could you assist me in how I get this set
>>> up.
>>>
>>> "Doug Robbins - Word MVP" wrote:
>>>
>>>> Run a macro on exit from the checkbox that sets the
>>>> .CheckBox.Value of the
>>>> other checkboxes to the .CheckBox.Value of the checkbox from which
>>>> you are
>>>> exiting.
>>>>
>>>> --
>>>> 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
>>>>
>>>> "Erika"  wrote in message
>>>> news:C305F700-1AE0-41B3-A0BA-4C1F660FF55F@microsoft.com...
>>>>> I am creating a template and I have fields that when filled in
>>>>> also fill in
>>>>> other fields through out my document.  I also have some
>>>>> checkboxes.  Is there
>>>>> was way that when a box is checked that other boxes further down
>>>>> in the template will also automatically be checked.
date: Wed, 15 Oct 2008 16:53:18 +0300   author:   Graham Mayor

Re: Checkboxes in Templates   
Perfect, I didn't even pay attention I just copy and pasted the code.  It 
worked beautifully thank you both for your assistance.

"Graham Mayor" wrote:

> The lines have broken in the mail. You need to rejoin the lines for it to 
> work or use the following
> 
> With ActiveDocument
>     .FormFields("Check2").CheckBox.Value = _
>         .FormFields("Check1").CheckBox.Value
>     .FormFields("Check3").CheckBox.Value = _
>         .FormFields("Check1").CheckBox.Value
> End With
> 
> See http://www.gmayor.com/installing_macro.htm
> 
> 
> 
> -- 
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor -  Word MVP
> 
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> 
> 
> 
> Erika wrote:
> > I have followed your instructions I have check1, check2 and check3
> > set up and I have the macro set to run on exit of check1.
> >
> > It keeps erroring on the first line of code
> >  .FormFields("Check2").CheckBox.Value =
> >
> > "Doug Robbins - Word MVP" wrote:
> >
> >> The following code will set the CheckBoxes to which the bookmark
> >> names Check2 and Check3 are assigned to the value of the CheckBox to
> >> which the bookmark Check1 is assigned if it is run on exit from the
> >> Check1 CheckBox
> >>
> >> With ActiveDocument
> >>     .FormFields("Check2").CheckBox.Value =
> >> ..FormFields("Check1").CheckBox.Value
> >>     .FormFields("Check3").CheckBox.Value =
> >> ..FormFields("Check1").CheckBox.Value
> >> 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
> >>
> >> "Erika"  wrote in message
> >> news:08FB0150-3AFD-48F7-8351-834C9DEDD9FC@microsoft.com...
> >>> Thank you for your help, could you assist me in how I get this set
> >>> up.
> >>>
> >>> "Doug Robbins - Word MVP" wrote:
> >>>
> >>>> Run a macro on exit from the checkbox that sets the
> >>>> .CheckBox.Value of the
> >>>> other checkboxes to the .CheckBox.Value of the checkbox from which
> >>>> you are
> >>>> exiting.
> >>>>
> >>>> --
> >>>> 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
> >>>>
> >>>> "Erika"  wrote in message
> >>>> news:C305F700-1AE0-41B3-A0BA-4C1F660FF55F@microsoft.com...
> >>>>> I am creating a template and I have fields that when filled in
> >>>>> also fill in
> >>>>> other fields through out my document.  I also have some
> >>>>> checkboxes.  Is there
> >>>>> was way that when a box is checked that other boxes further down
> >>>>> in the template will also automatically be checked. 
> 
> 
>
date: Wed, 15 Oct 2008 09:32:09 -0700   author:   Erika

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us