how to get the language of the application
-
hy everyone! Is there a chance to get the language of the Word programm? Because I do want to do the following: If it is english then set constants to the english version, if it is German then set it to the german version etc. So I wonder if there is an easy way to get the language to set the constants correctly! So I would be interested what this has to look like in VBA for Word and where it is stored there! Thanks! Stephan.
-
hy everyone! Is there a chance to get the language of the Word programm? Because I do want to do the following: If it is english then set constants to the english version, if it is German then set it to the german version etc. So I wonder if there is an easy way to get the language to set the constants correctly! So I would be interested what this has to look like in VBA for Word and where it is stored there! Thanks! Stephan.
Word will use the current Regional and Language Options settings, which in VB.NET, is can be had from the Application.CurrentCulture[^] property. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome