Spell check

G

Guest

Hi,

I am developing a mini application form, wherein users will input some
lengthy details in the textboxes available. They would also copy & paste from
somewhere..

To make it clean, i want to do a spell check on the values they have typed
in the textboxes...

I know excel has the option of spell check for the sheets, but not sure if
its possible in VBA.

Can anyone please help me in doing this.

Thanks.
 
L

L. Howard Kittle

Hi Sri,

Try this, from the macro recorder and modified slightly. Where Dum is the
range of cells you entries are in.

Sub Macro2()
Dim Dum As Range
Set Dum = Range("A1:a10")
Dum.CheckSpelling SpellLang:=1033
End Sub

HTH
Regards,
Howard
 

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