Spell Checking a Protected Document

D

Danny Sowden

I have created a form in word and have locked it so that
the user can only change the fileds and not the field
headings.

I have a text field which is about 200 chars of free text
and i want the user to be able to spell check it after
they have typed it. I created a command button and
allocated it the following code -

"Application.ResetIgnoreAll
ActiveDocument.SpellingChecked = False
ActiveDocument.CheckSpelling"

Which i got from VB Help. The problem is the code stops as
the form is protected. How can i get around this. Really i
would just like the spell check to be on the one text
field not the entire form as well.

I am using Word 2000 and Visual Basic 6.0
 
D

Danny Sowden

Thanks for this, have managed to get this bit working, but
have now found a new problem.

Is there a way similar to how you have simulated
Spellcheck to do the same for basic text formatting such
as bold, italic and underline?

I would like to get the users to format their own text
within a certain field, but whilst keeping protection
turned on.

Any ideas or places where i should look?
 

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