View Single Post
 
Old 11-19-2017, 06:48 AM
GiHem GiHem is offline Windows 10 Office 2010 64bit
Novice
 
Join Date: Nov 2017
Posts: 10
GiHem is on a distinguished road
Default How to force Word to use the right dictionary?

Hi the forum
In a VBA routine, I highlight spelling mistakes in yellow
Code:
For Each rngSpellError In ActiveDocument. SpellingErrors
    rngSpellError. HighlightColorIndex = wdYellow
Next rngSpellError
In a document written in several languages, Word does not always affect the correct dictionary.
Example
Greetings to someone: Jemanden begrüße
I greet you: Ich grüße Sie
Good tomorrow Guten Morgen! (bis Mittag)
Good afternoon Guten Tag (zwischen 12:00 und 18:00 Uhr)

the left colomn is marked as written in German.

Could a member of this forum advise me to force, in VBA, Word to refer to the right dictionary and not mark a correctly written words as wrong?
Thank you in advance
GiHem
Reply With Quote