Spellcheck Macro in Templates

L

Lilbit

1) I attached the macro to a button on a toolbar. While the form is
protected, I run the macro using that button, but the messages that should
appear about the spellcheck being complete still don't appear. After
identifying the last word to check, it simply stops.
2) I typed Password:="password" with password being my password and I get
the message: Compile Error -- Expected Expression. It doesn't matter
whether I type it beside or under oDoc.Unprotect. Why? Thanks for your
help!!
 
L

Lilbit

While I still need help with the messages not appearing (The spelling and
grammar check is complete and/or The Spelling check is complete), a
co-worker advised me that VBA can be a little temperamental so (1) it
might be best to sometimes type in coding instead of pasting it in, (2) to
space once after the word Unprotect and type in the Password:="password"
line, and (3) put a comma and a space after the word True then type the
Password:="password" line. The password lines now work.
 

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