Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2018, 08:26 PM
Guessed's Avatar
Guessed Guessed is offline Specifying English(UK) dictionary Windows 10 Specifying English(UK) dictionary Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The dictionary is configurable at the text level so different paragraphs can be spell checked with different dictionaries. To fix this comprehensively, you need to ensure all paragraph styles have your chosen language applied to them and also that there is no local language settings applied that would override the style language setting. This should be done in your template first and then applied to each existing document.



There are hundreds of styles in even the most basic template so this can be a big task that is simplified greatly by using a macro.
Code:
Sub SetLanguage()
  'Changes all the styles in the document to UK spelling
  Dim aStyle As Style
  For Each aStyle In ActiveDocument.Styles
    If aStyle.Type = wdStyleTypeParagraph Then
      aStyle.LanguageId = wdEnglishUK
    End If
  Next aStyle
  ActiveDocument.Range.LanguageId = wdEnglishUK
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not Changing Fonts From English to Non-English. mohsen.amiri Word 0 07-31-2017 01:38 AM
Selecting English words mohsen.amiri Word 2 02-17-2017 02:22 AM
Finding Non-English Words in an English and Non-English words document mohsen.amiri Word 3 03-31-2015 11:20 PM
Specifying English(UK) dictionary Stay on UK English PERMANENTLY raenforest Word 1 12-17-2013 12:51 PM
US English dictionary (only) lacking spellcheck CaseDillon Word 0 03-09-2010 09:08 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:52 PM.


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