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
 

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