I am using the following code to protect a form. Is it possible that
protecting a form can set a checkbox to true?

ActiveDocument.Protect wdAllowOnlyFormFields, NoReset:=True,
Password:=FORM_PASSWORD

Mark Baird

Re: Form Fields by Doug

Doug
Tue Nov 04 22:58:03 CST 2003

Hi Mark,

Include the command

ActiveDocument.FormFields("Check1").CheckBox.Value = True

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
"Mark Baird" <mbaird628@yahoo.com> wrote in message
news:4b758180.0311041449.4bebc53c@posting.google.com...
> I am using the following code to protect a form. Is it possible that
> protecting a form can set a checkbox to true?
>
> ActiveDocument.Protect wdAllowOnlyFormFields, NoReset:=True,
> Password:=FORM_PASSWORD
>
> Mark Baird



Re: Form Fields by mbaird628

mbaird628
Wed Nov 05 09:59:39 CST 2003

Sorry for not clarifying but I have had reports from users of
checkboxes being set to true without any user intervention.

When the form is loaded a global addin is also loaded. The form is
temporarily "unprotected" so that a menu can be built. Once the menu
is built the form is "reprotected" with a password.

Given that my question is: are there any known bugs that will
mysteriously set a checkbox to true.

Mark

"Doug Robbins - Word MVP" <dkr@mvps.org> wrote in message news:<OrLbll1oDHA.2584@TK2MSFTNGP09.phx.gbl>...
> Hi Mark,
>
> Include the command
>
> ActiveDocument.FormFields("Check1").CheckBox.Value = True
>
> Please post any further questions or followup to the newsgroups for the
> benefit of others who may be interested. Unsolicited questions forwarded
> directly to me will only be answered on a paid consulting basis.
>
> Hope this helps
> Doug Robbins - Word MVP
> "Mark Baird" <mbaird628@yahoo.com> wrote in message
> news:4b758180.0311041449.4bebc53c@posting.google.com...
> > I am using the following code to protect a form. Is it possible that
> > protecting a form can set a checkbox to true?
> >
> > ActiveDocument.Protect wdAllowOnlyFormFields, NoReset:=True,
> > Password:=FORM_PASSWORD
> >
> > Mark Baird

Re: Form Fields by Doug

Doug
Wed Nov 05 23:25:17 CST 2003

Hi Mark,

Not that I am aware of, but you could include the following in your code to
ensure that it is false immediately after the document is protected:

ActiveDocument.FormFields("Check1").CheckBox.Value = False

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
"Mark Baird" <mbaird628@yahoo.com> wrote in message
news:4b758180.0311050759.7e9b2c77@posting.google.com...
> Sorry for not clarifying but I have had reports from users of
> checkboxes being set to true without any user intervention.
>
> When the form is loaded a global addin is also loaded. The form is
> temporarily "unprotected" so that a menu can be built. Once the menu
> is built the form is "reprotected" with a password.
>
> Given that my question is: are there any known bugs that will
> mysteriously set a checkbox to true.
>
> Mark
>
> "Doug Robbins - Word MVP" <dkr@mvps.org> wrote in message
news:<OrLbll1oDHA.2584@TK2MSFTNGP09.phx.gbl>...
> > Hi Mark,
> >
> > Include the command
> >
> > ActiveDocument.FormFields("Check1").CheckBox.Value = True
> >
> > Please post any further questions or followup to the newsgroups for the
> > benefit of others who may be interested. Unsolicited questions
forwarded
> > directly to me will only be answered on a paid consulting basis.
> >
> > Hope this helps
> > Doug Robbins - Word MVP
> > "Mark Baird" <mbaird628@yahoo.com> wrote in message
> > news:4b758180.0311041449.4bebc53c@posting.google.com...
> > > I am using the following code to protect a form. Is it possible that
> > > protecting a form can set a checkbox to true?
> > >
> > > ActiveDocument.Protect wdAllowOnlyFormFields, NoReset:=True,
> > > Password:=FORM_PASSWORD
> > >
> > > Mark Baird