Protect form button in form toolbar

N

NARU GAJARIA

I am creating a userform where a person will enter the
details and submit the form in main office. I am creating
a template for that. I have inserted form fields and
dropdown list for that. With the help of protect form
button I can lock and prevent user to change anything
else. As there are many fields its easy for user to use
protect form button and skip form field to form field or
dropdown. But when user unlock the button and lock it
again all data entered in past is removed and it starts
form the begining. Is there any what where user can got
unfilled form fields only.

Any help appreciated.

Thanks
Naru
 
D

Doug Robbins - Word MVP

Hi Naru,

When you protect the form, apply a password so that the users are not able
to remove the protection.

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
 
N

Naru

Thanks for the reply. Actually, I want to protect the form
just to make user to fill the form. This form user will
save it on his/her drive and reopen it for changes if any.
So user will protect the form to enter data and may also
change the actual titles, headings etc.(depending on the
requirement).

Can you tell me what to do here.

Many thanks
Naru
 
D

Doug Robbins - Word MVP

Hi Naru,

If you want to allow the user to remove the protection, you will have to use
a macro to re-apply it using the command

ActiveDocument.Protect wdAllowOnlyFormFields, NoReset

The type of form that you are talking about is not really a UserForm. If
you do use a UserForm, the protection is not required.

See the article "How to create a Userform" at:

http://www.mvps.org/word/FAQs/Userforms/CreateAUserForm.htm

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top