Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2017, 06:07 AM
GiHem GiHem is offline How to force Word to use the right dictionary? Windows 10 How to force Word to use the right dictionary? Office 2010 64bit
Novice
How to force Word to use the right dictionary?
 
Join Date: Nov 2017
Posts: 10
GiHem is on a distinguished road
Default

Hi gmayor,
Thank you for your interesting answer.
I had for a long time noticed that automatic language detection was not 100% reliable.
Even when creating a style (linked paragraph and character) dedicated to a language (in my case, German), the result is not 100% guaranteed.


Manual intervention is therefore still required.
GiHem
Reply With Quote
  #2  
Old 11-21-2017, 06:21 AM
GiHem GiHem is offline How to force Word to use the right dictionary? Windows 10 How to force Word to use the right dictionary? Office 2010 64bit
Novice
How to force Word to use the right dictionary?
 
Join Date: Nov 2017
Posts: 10
GiHem is on a distinguished road
Default

Hi gmaxey,
Thanks for the answer.
The code works fine if MS Word detects the spelling errors.
A simple test: copy an article from a German newspaper into an MS Word document. There should be no mistakes.
Select the text; change it in lower case and then in sentence case.
You will notice that, sometimes, MS Word does not find errors when all the nouns are misspelled.
GiHem
Reply With Quote
  #3  
Old 11-21-2017, 07:17 AM
GiHem GiHem is offline How to force Word to use the right dictionary? Windows 10 How to force Word to use the right dictionary? Office 2010 64bit
Novice
How to force Word to use the right dictionary?
 
Join Date: Nov 2017
Posts: 10
GiHem is on a distinguished road
Default

I have a practical supplementary question: how do I apply the code from the original thread to a selected portion of text and not to the entire document?
Thank you in advance
GiHem
Reply With Quote
  #4  
Old 11-21-2017, 03:02 PM
GiHem GiHem is offline How to force Word to use the right dictionary? Windows 10 How to force Word to use the right dictionary? Office 2010 64bit
Novice
How to force Word to use the right dictionary?
 
Join Date: Nov 2017
Posts: 10
GiHem is on a distinguished road
Default

I have found out how to know if a portion of text is selected.
Code:
Select Case Selection.Type
Case wdSelectionNormal
MsgBox "there is a selection"
Case Else
MsgBox "there is no selection"
End Select
But I still don't know how to apply a code to this selection and not to the whole document.
Could a member of this forum help me.
Thank you in advance.
GiHem
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for Dictionary Add-Ins for MS Word KDL Word 0 12-01-2015 02:59 PM
How to force Word to use the right dictionary? How to force reassociation of .doc files from Word 2003 to Word 2007? paladin Word 3 10-22-2014 09:50 PM
Cannot update dictionary in Word oilyrag Word 0 04-05-2014 04:30 AM
How to force Word to use the right dictionary? Dictionary customization in Word nuckollsr Word 3 01-21-2014 07:43 PM
Force to select a group of word? jakekei Word 0 01-21-2010 04:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:12 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