Re: Protecting doc (while allowing filling in forms) allowed only in design mode?
- From: "Peter J. Veger" <pjv365@xxxxxxxxxxxxxxxx>
- Date: Tue, 4 Oct 2005 19:25:38 +0200
Thank you, message understood.
I want to use for form to hold an inquiry among members of a sailing club
with widely divergent PC skills.
So i have to restrain myself and just use check boxes and textboxes.
Peter J. Veger, Best Netherlands
"Jay Freedman" <jay.freedman@xxxxxxxxxxx> wrote in message
news:%2301WmXPyFHA.3588@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Peter,
>
> Word considers all controls from the Control Toolbox (which are ActiveX
> controls) to be in the same threat class as macros that could be viruses.
> Therefore, if your macro security level is High, all macros *and* ActiveX
> controls are disabled when you open a document containing them. In the
> case
> of the ActiveX controls, that also turns on Design Mode.
>
> You should set the security level (Tools > Macro > Security) to Medium.
> When
> you open the document, you'll be asked whether to disable or enable
> macros;
> click the Enable button.
>
> If you're planning to send this form to other PCs, you'll have to include
> a
> note explaining this. There is no way for your code to affect anyone
> else's
> security level, for obvious reasons.
>
> The alternative is to replace the radio buttons with check boxes or a
> dropdown from the Forms toolbar and avoid using any ActiveX controls.
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org
>
> Peter J. Veger wrote:
>> Word 2003.
>> I have a simple document with a form using radio buttons from the
>> Control Toolbox.
>> After design, I click "exit design mode" from that toolbar.
>> I then select "Protect document..." from Tools and select in the
>> Editing restictions 'allow only edting' by 'filling in forms'.
>> I then start enforcing the protection (with or without password, that
>> doesn't matter)
>>
>> At that moment, the document behaves as expected: I can select one
>> radio button of each group.
>>
>> However, if I save the form as a .doc and load this file later, the
>> document is locked but it appears to be in design mode.
>> (1. The state of the Control Toolbox Design Mode toggle is "Exit
>> design mode"; but disabled because the form is locked.
>> 2. A click in a radiobutton has no effect.
>> 3. After doubleclicking the VBA Editor is opened for the event
>> OptionButtonx_Click but the document is still locked.
>> 4. After Unprotecting the document, I can immediately continue with
>> editing)
>>
>> How should I prepare a document so tha another person can fill in the
>> form?
>
>
.
- References:
- Protecting doc (while allowing filling in forms) allowed only in design mode?
- From: Peter J. Veger
- Re: Protecting doc (while allowing filling in forms) allowed only in design mode?
- From: Jay Freedman
- Protecting doc (while allowing filling in forms) allowed only in design mode?
- Prev by Date: Re: References for VBA
- Next by Date: Close But Need Some Help
- Previous by thread: Re: Protecting doc (while allowing filling in forms) allowed only in design mode?
- Next by thread: Close But Need Some Help
- Index(es):