Spell Check

J

jwebster1979

I want to have a text box that is serving as a "notes box" that is feeding a
subform to spellcheck automatically before it transfers to my subform.
Basically I want spell check to run before I send the information.
 
A

Arvin Meyer [MVP]

Here's a function that you can call in the AfterUpdate event of the textbox:

Private Sub txtWhatever_AfterUpdate()
On Error Resume Next
With Me.txtWhatever
.SetFocus
.SelStart = 0
.SelLength = Len(Me.txtWhatever)
DoCmd.RunCommand acCmdSpelling
End With
End Sub
 

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