Macro to Switch Language

S

Swede

Hi,

I am trying to create an Outlook macro that sets the email language to
Swedish and then runs the Swedish spellcheck. I created a similar macro in
MS Word, but if I try the same code in Outlook I get object errors.

Can someone help me debug this code so that it works in Outlook?

(Versions: Outlook 2002, MS Word 2002)

MS Word Macro Code:

Selection.WholeStory
Selection.LanguageID = wdSwedish
Selection.MoveUp Unit:=wdScreen, Count:=1
ActiveDocument.CheckSpelling

Thanks!

Swede
 
K

Ken Slovak - [MVP - Outlook]

All language settings in Outlook are read-only. Are you using WordMail
for your Outlook items? If so you would have to use Word code that
runs in the WordMail template. If you are using the Outlook email
editor you can't even get selected text in code.
 

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