View Single Post
 
Old 09-29-2024, 11:58 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by RobiNew View Post
Your code line doesn't work.
It works for me. You can demonstrate it with something as simple as:
Code:
Sub Test()
MsgBox Selection.Paragraphs(1).Range.LanguageID
Selection.Paragraphs(1).Range.LanguageID = wdBelgianFrench
MsgBox Selection.Paragraphs(1).Range.LanguageID
End Sub
where your initial language is something other than Belgian French.
Quote:
Originally Posted by RobiNew View Post
How would you do the trick with Range?
Without seeing your code, it's impossible to say how it should be revised.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote