spell check in protected forms
BeverlyDawn:
I'm sorry I've not been of more help to you, but I can comment on this post.
As far as I can tell, the variables Cancelled, MyRange, CorrectedError and
oDoc should be defined at the module level. That is, you should paste them in
at the very beginning of the module. That defines them as being accessible to
all subroutines in that module.
The RunSpellcheck, CheckProtectedSection, and TurnNoProofingOff subroutines
should all have solid lines before them in the VBE, indicating them as
separate subroutines.
Bear
--
|