Automatically Spell Check current field

L

Leo Mansi

I have a field in a form where spelling accuracy is critical. I would like
Access to autmoatically run spell check in just that field as I exit the
field. How can I do this?

Thanks for your assistance.

Leo Mansi
 
M

Marshall Barton

Leo said:
I have a field in a form where spelling accuracy is critical. I would like
Access to autmoatically run spell check in just that field as I exit the
field


Use the text box's AfterUpdate event to run the code:

Me.textbox.SelStart = 0
Me.textbox.SelLength = Len(Me.textbox.Text)
DoCmd.RunCommand acCmdSpelling
 
Top