Create a button that would launch spell check

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
 
A

Allen Browne

RunCommand acCmdSpelling

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

b) This may not work in the runtime.
 
S

Stuart McCall

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
 
Top