View Single Post
 
Old 05-16-2019, 04:32 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If the word you're checking is formatted as German, you don't need to set the language. Form the VBA help file:
Quote:
If you don't specify a main dictionary, Microsoft Word uses the main dictionary that corresponds to the language formatting of the first word in the range.
Otherwise, you'll need something along the lines of:
Code:
Dim Dict As Dictionary
Set Dict = Languages(wdGerman).ActiveSpellingDictionary
Selection.Range.GetSpellingSuggestions , , Dict.Path & "\" & Dict.Name
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote