News, links, downloads, tips and tricks on Microsoft Access and related

About Me Search
Name:Alex Dybenko

Location:Moscow, Russia

Thursday, March 16, 2006

How to check spelling of a text, entered into textbox

The sample code below shows the idea – you move cursor to textbox, select text and then run spelling:

With Me.TextBox1
.SelStart = 0
.SelLength = Len(.Text)
End With

DoCmd.SetWarnings False
DoCmd.RunCommand acCmdSpelling
DoCmd.SetWarnings True


Anonymous Anonymous said...

Yo lo he usado en el evento afterUpdate.
Gracias por la ayuda.

8:54 PM  

Post a Comment

<< Home