Auto Spell Check in Form Field

njliven

New member
Local time
Today, 00:43
Joined
Jan 4, 2013
Messages
6
I am using some code in the in the Lost_Focus Event to auto spell check some fields in a form.
For 2 of the fields the code works great, but when I put into another field is says there is a problem with the .SelStart = 1 in code.
All fields are memo fields. The code I am using is below. Any suggestions would be appreciated.

With Me!Financial_Status
If Len(.Value) > 0 Then
DoCmd.SetWarnings False
.SelStart = 1
.SelLength = Len(.Value)
DoCmd.RunCommand acCmdSpelling
.SelLength = 0
DoCmd.SetWarnings True
End If
End With
 

Users who are viewing this thread

Back
Top Bottom