I want to repeat the spell check in the document after adding the dictionary. The problem is the following code (mainly from a macro recorder)
CustomDictionaries.Add FileName:="c:\test_dictionary.dic" Application.ResetIgnoreAll ActiveDocument.Range.SpellingChecked = False ActiveDocument.Range.GrammarChecked = False
does not give the same results as in Word Word Options | Proofing | Recheck Document . The button double-checks the document, and you can see that recently added words are deleted as spelling errors. The code has no noticeable effect.
What am I missing?
Word. CustomDictionary , . "" (.. " ", "", ). - , (, ). . , , , .
CustomDictionary
, . (. SendKeys Vista/7, ). , , "". , , , .
, :
'spellcheck the document ActiveDocument.Range.LanguageID = wdFrenchHaiti ActiveDocument.Range.LanguageID = wdEnglishUS
, Word .
Source: https://habr.com/ru/post/1757685/More articles:Configure specific JDBC oracle property v $ session.program using Jboss and JPA (sleep mode) - oracleComplex C # for training purposes - c #Iterating through dynamic Expando properties in Django templates - pythonHow to cope with an assertion error in NSButton lockFocus when using modalWindow on quit? - cocoaConnection rejected by Android SDK and AVD manager - androidAppStore UK Developer Tax Information - iphoneOO Design Issues - javaPassing dynamic data in javascript - javascriptSaving additional user data in MemberhipProvider / FormsAuthenticationTicket - c #Variable ' 'hides the variable in the closing block - .netAll Articles