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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top