AccessBlog.net

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

About Me Search
Alex
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
.SetFocus
.SelStart = 0
.SelLength = Len(.Text)
End With

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

1 Comments:

Anonymous Anonymous said...

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

8:54 PM  

Post a Comment

Links to this post:

Create a Link

<< Home