Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Word Object Model Reference Support and feedback dic files (custom spelling dictionaries). Go to Proofing, then click the Custom Dictionaries button, and then click the Add button. Then, on that same computer, click the Microsoft Office Button, and then click Word Options. lex files (built-in proofing dictionaries) and False for. To add your custom dictionary, first move the custom dictionary files to the folder you copied it from (i.e., somewhere inside the Proof folder). MsgBox mySpell.Path & Application.PathSeparator & mySpell.Name Set myspell = Languages(wdEnglishUS).ActiveSpellingDictionary The following example returns the full path for the active spelling dictionary used in the U.S. If the dictionary is language specific, it will verify only text that's formatted for the specified language.įor each language for which proofing tools are installed, you can use the ActiveGrammarDictionary, ActiveHyphenationDictionary, ActiveSpellingDictionary, and ActiveThesaurusDictionary properties to return the corresponding Dictionary objects. Use the LanguageSpecific property to determine whether the specified custom dictionary can have a specific language assigned to it with the LanguageID property. Msgbox d.Path & Application.PathSeparator & d.Name The following example displays a message box that contains the full path for each dictionary. Use the Name and Path properties to locate any of the dictionaries. CustomDictionaries.Add FileName:="M圜ustom.dic" The following example adds "M圜ustom.dic" to the collection of custom dictionaries. If there is no file with the name specified by FileName, Word creates it. Use the Add method to add a new dictionary to the collection of active custom dictionaries. If you try to set this property to a dictionary that's not a custom dictionary, an error occurs. Use the ActiveCustomDictionary property to set the custom spelling dictionary in the collection to which new words are added. The following example returns the dictionary named "MyDictionary." CustomDictionaries("MyDictionary") Open the file in Microsoft Word and add text and/or graphics.Those who use Microsoft Word will find a large selection of Avery lable templates already included with the program. The following example returns the first dictionary in the collection. Use CustomDictionaries (Index), where Index is an index number or the string name for the dictionary, to return a single Dictionary object that represents a custom dictionary. Other dictionary objects are returned by properties of the Languages collection these include the ActiveSpellingDictionary, ActiveGrammarDictionary, ActiveThesaurusDictionary, and ActiveHyphenationDictionary properties. Dictionary objects that represent custom dictionaries are members of the Dictionaries collection. University of Wisconsin-Eau Claire 105 Garfield Avenue P.O.Represents a dictionary. In the Word(s) text box, type the word you want to addĬlick OK until all dialog boxes are closedĮditing a Custom Dictionary: Deleting a Wordįrom the Dictionary scroll box, select the word you want to delete The " dictionary name.dic" dialog box appears. NOTE: The dictionary is selected if there is a checkmark in the box before it. Editing a Custom Dictionary: Adding a Word To change the spelling of a word you must delete it and reenter it with the correct spelling. You may add or delete words in a custom dictionary. NOTE: This option is deselected when no checkmark appears in the box before it. NOTE: The new custom dictionary is selected if a checkmark appears in the box before it.įrom Proofing options, in the When correcting spelling in Microsoft Office programs section, deselect Suggest from main dictionary only In the Custom Dictionaries dialog box, under the Dictionary List, select the newly created custom dictionary In the File name text box, type a name for the custom dictionary The Create Custom Dictionary dialog box appears. The Custom Dictionaries dialog box appears. In the When correcting spelling in Microsoft Office programs, click CUSTOM DICTIONARIES. This document contains instructions for creating and editing a custom dictionary using Word.Ĭreating and Selecting a Custom Dictionaryįrom the OFFICE BUTTON, click WORD OPTIONSįrom the Categories list, select Proofing Custom dictionaries created in Word are shared with the other Office programs. You can either create a new dictionary or modify the main dictionary. This article is based on legacy software.Ī custom dictionary contains words that are not in the main Office dictionary. (Archives) Microsoft Word 2007: Adding a Dictionary
0 Comments
Leave a Reply. |