How Do I Invoke Spell Check from Within Access VBA

G

Guest

User wants to invoke spell check for fields within a table since data entry
spelling is variable. How do I do this from within VBA?
Earl Phillips
Volunteer Programmer
Harvesters Community Food Bank
 
S

Steve Schapel

Earl,

DoCmd.RunCommand acCmdSpelling

Note that this invokes the Office spell-ckecker, and relies on an Office
installation of the same version as the Access installation. Also note
that this code is often best run from a Command Button... if you use the
After Update event of a control or form or whatever, the spelling
checker runs even if there are no errors detected, which can be annoying.
 
G

Guest

This invokes Spell Check, but I was hoping to limit the check to contents of
the open form, not the entire database. Is there any way to have spellcheck
follow the tab order of the form and quit at the end?
 

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