Spell check protected form

R

Ricki Miles

I am creating a protected form in Word XP. I would like to have a macro to
unprotect the form (no password), spell check the entire text and then
reprotect the form.

I tried using a macro that I used in Word 97 but it is not working properly.
It is an on exit macro attached to the last form field and it unprotects
the form, spell checks the non-variable text, but won't check the variable
text that has been added by the user.

I appreciate your help!

Ricki
 
J

Jay Freedman

I am creating a protected form in Word XP. I would like to have a macro to
unprotect the form (no password), spell check the entire text and then
reprotect the form.

I tried using a macro that I used in Word 97 but it is not working properly.
It is an on exit macro attached to the last form field and it unprotects
the form, spell checks the non-variable text, but won't check the variable
text that has been added by the user.

I appreciate your help!

Ricki

Try the macro at
http://www.word.mvps.org/FAQs/MacrosVBA/SpellcheckProtectDoc.htm
 
R

Ricki Miles

Thank you both for pointing me in the right direction. It now works well,

Ricki
 
S

siberius

This is great! I put the module into my protected form that was
protected (with no password). It worked very well. As a newbie
programmer I had a bit of difficulty once I set a password but
eventually figured out that the " " marks had to go around the
password. Duh.....

This solution solves such a HUGE problem for me you have no idea.

Thanks for posting the solution.

Nick.
 
S

siberius

Jay and Ricki....
This worked very well. Is it possible to do the same thing for
grammar check?

Nick.
 

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