From: forest8 on
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
From: Allen Browne on
RunCommand acCmdSpelling

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

b) This may not work in the runtime.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"forest8" <forest8(a)discussions.microsoft.com> wrote in message
news:06CEBBF0-95A4-41BB-9508-8EA2C08A1772(a)microsoft.com...
> 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

From: Stuart McCall on
"forest8" <forest8(a)discussions.microsoft.com> wrote in message
news:06CEBBF0-95A4-41BB-9508-8EA2C08A1772(a)microsoft.com...
> 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