I have apostrophies disabled on my form, but ihave a few instancies now where spell check is putting the apostrohy in the feild.
I have used the following code to disable the apostrophy.
and the below for the spell check.
how do i stop the spellcheck suggesting a spelling that contains a apostrophe ? ?
I have used the following code to disable the apostrophy.
Code:
Private Sub tbComments_KeyPress(KeyAscii As Integer)
If KeyAscii = 39 Then
MsgBox "You may not use apostrophes in this field"
KeyAscii = 0
End If
End Sub
and the below for the spell check.
Code:
Private Sub tbComments_AfterUpdate()
On Error GoTo Handler
If Len(Me.tbComments & "") > 0 Then
DoCmd.SetWarnings False
DoCmd.RunCommand acCmdSpelling
DoCmd.SetWarnings True
End If
how do i stop the spellcheck suggesting a spelling that contains a apostrophe ? ?