How to change the display language in MS Word

3 vues (au cours des 30 derniers jours)
Ole
Ole le 21 Mai 2021
Modifié(e) : Ole le 21 Mai 2021
How to change the display language in MS Word from Matlab temporary when writing to file?
When the code runs with MS Word with settings set to language different than the english the last line gives error
Help File: wdmain11.chm
Help Context ID: 62e2
word = actxserver('Word.Application');
word.Visible = 1;
document = word.Documents.Add;
selection.Style='Normal'; %problematic line

Réponses (0)

Catégories

En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by