Create a button that would launch spell check

  • Thread starter Thread starter forest8
  • Start date Start date
F

forest8

Hi there

I want to create a button that when clicked would launch Access' spell check
function.

What would be the best way to do this?

Thank you
 
RunCommand acCmdSpelling

Caveats:
a) You might want to Screen.PreviousControl.SetFocus

b) This may not work in the runtime.
 
forest8 said:
Hi there

I want to create a button that when clicked would launch Access' spell
check
function.

What would be the best way to do this?

Thank you

Put this code in the button's click event:

docmd.RunCommand acCmdSpelling
 
Back
Top