How to set spelling language for Application.CheckSpelling method?

Be4ep
Be4ep used Ask the Experts™
on
I tried to set MainDictionary as ActiveSpellingDictionary of other not default Language but checkspelling verifies with default language anyway.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2006
Commented:
Hello Be4ep,

that will indeed not work as the language setting of the document text determines the dictionary used in the spellcheck

check out this post with code

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=OqoTAsdB%24GA.296%40cppssbbsa04&rnum=9

it's a bit much but clear code, let me know

HAGD:O)Bruintje

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial