formfield style change under document protected

D

dariusli

I have to protected my document, and the users have to input their
information into some formfields. Everything works well, but some users asked
that how they could change the font and the style of the text that they
inputted in the formfield.

The protected code is:
thisDocument.protect wdAllowOnlyFormFields,,pwdStr

Now how can the users change the font style with document protected. ( if
necessary, I can change the protect method.)
 
G

Graham Mayor

If users are creating documents that require additional formatting then a
protected form is probably not the best approach. Protected forms are simply
a means of entering data in fields which are pre-formatted. May I suggest
you investigate userforms instead - For the basics, see Word MVP FAQ -
Userforms
http://word.mvps.org/FAQs/Userforms.htm

for a more in depth explanation, see
http://gregmaxey.mvps.org/Create_and_employ_a_UserForm.htm

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