this might be a little dumb but... is there anyway to have spell check auto run whenever focus changes between controls, without having to code it into each control? I got this code that works great and set it up on an OnExit event but wondering if there's a way to make it work for all items on a form.
Code:
Private Sub YOURFIELDNAME_Exit(Cancel As Integer)
Dim strSpell
strSpell = YOURFIELDNAME
If IsNull(Len(strSpell)) Or Len(strSpell) = 0 Then
Exit Sub
End If
With YOURFIELDNAME
.SetFocus
.SelStart = 0
.SelLength = Len(strSpell)
End With
DoCmd.SetWarnings False
DoCmd.RunCommand acCmdSpelling
DoCmd.SetWarnings True
End Sub