Group: microsoft.public.word.vba.general
From: =?Utf-8?B?SmVhbi1HdXkgTWFyY2ls?=
Date: Tuesday, April 01, 2008 9:54 AM
Subject: RE: Getting Spell Check to work in Text Form Fields

"Craig" wrote:

> Thank you.
>
> the code works but only when the doc is unprotected...I want my users to
> open the document protected, fill in all their required form fields, then
> press a key like Alt S to get the macro to run the spell check of the form
> fields.
>

Read the article again, maybe a bit slower tis time? ;-)

The code is designed to work with protected documents (Otherwise, if the
document is not protected, you do not need code at all...). If you get
something else as a result, you did something wrong... Not sure what... So go
back and make sure you did exactly as described in the article. Also, make
sure you copy paste the code correctly.

As a final thought, make sure you actually use the code to do the spell
check, not the built-in "Check Spelling" button on the Word toolbar.
If you want (and if you are working correctly with templates), you can
create a button and assign your macro to this button; then, copy the image
from the Word built-in button and paste it on your button. Now you can remove
the built-in one. To copy/paste a toolbar button, just right-click on the
button to access all the editing options for buttons after making sure you
are in customizing mode (Right-click any toolbar and select "Customize").