Microsoft Office Forums GetSpellingSuggestions dictionary name

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-16-2019, 04:59 AM
marcelma marcelma is offline GetSpellingSuggestions dictionary name Windows 7 64bit GetSpellingSuggestions dictionary name Office 2007
Novice
GetSpellingSuggestions dictionary name
 
Join Date: Nov 2015
Location: Berlin, Germany
Posts: 3
marcelma is on a distinguished road
Default GetSpellingSuggestions dictionary name

The 3rd parameter of



Selection.Range.GetSpellingSuggestions()

is supposed to be the main dictionary that is to be used.

Can anybody tell me what would be the parameter, if I want to choose the German dictionary? (Office 2010)

Thanks
Reply With Quote
  #2  
Old 05-16-2019, 04:32 PM
macropod's Avatar
macropod macropod is offline GetSpellingSuggestions dictionary name Windows 7 64bit GetSpellingSuggestions dictionary name Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,533
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
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
[MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
GetSpellingSuggestions dictionary name How to use "GetSpellingSuggestions"? GiHem Word VBA 3 11-14-2017 07:45 AM
Looking for Dictionary Add-Ins for MS Word KDL Word 0 12-01-2015 02:59 PM
Dictionary anner65 Word 0 10-28-2014 06:11 PM
Add to Dictionary edspiderelrod Word 0 10-25-2014 09:42 AM
GetSpellingSuggestions dictionary name No dictionary installed ToddPr Word 1 09-01-2014 05:51 AM


All times are GMT -7. The time now is 04:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft