Returns True if the value for the msoLanguageID constant has been identified in the Windows registry as a preferred language for editing. Read-only Boolean.
expression.LanguagePreferredForEditing(lid)
expression Required. An expression that returns one of the objects in the Applies To list.
lid Required MsoLanguageID.
MsoLanguageID can be one of these MsoLanguageID constants. |
msoLanguageIDAfrikaans |
msoLanguageIDAlbanian |
msoLanguageIDAmharic |
msoLanguageIDArabic |
msoLanguageIDArabicAlgeria |
msoLanguageIDArabicBahrain |
msoLanguageIDArabicEgypt |
msoLanguageIDArabicIraq |
msoLanguageIDArabicJordan |
msoLanguageIDArabicKuwait |
msoLanguageIDArabicLebanon |
msoLanguageIDArabicLibya |
msoLanguageIDArabicMorocco |
msoLanguageIDArabicOman |
msoLanguageIDArabicQatar |
msoLanguageIDArabicSyria |
msoLanguageIDArabicTunisia |
msoLanguageIDArabicUAE |
msoLanguageIDArabicYemen |
msoLanguageIDArmenian |
msoLanguageIDAssamese |
msoLanguageIDAzeriCyrillic |
msoLanguageIDAzeriLatin |
msoLanguageIDBasque |
msoLanguageIDBelgianDutch |
msoLanguageIDBelgianFrench |
msoLanguageIDBengali |
msoLanguageIDBrazilianPortuguese |
msoLanguageIDBulgarian |
msoLanguageIDBurmese |
msoLanguageIDByelorussian |
msoLanguageIDCatalan |
msoLanguageIDCherokee |
msoLanguageIDChineseHongKong |
msoLanguageIDChineseMacao |
msoLanguageIDChineseSingapore |
msoLanguageIDCroatian |
msoLanguageIDCzech |
msoLanguageIDDanish |
msoLanguageIDDutch |
msoLanguageIDEnglishAUS |
msoLanguageIDEnglishBelize |
msoLanguageIDEnglishCanadian |
msoLanguageIDEnglishCaribbean |
msoLanguageIDEnglishIreland |
msoLanguageIDEnglishJamaica |
msoLanguageIDEnglishNewZealand |
msoLanguageIDEnglishPhilippines |
msoLanguageIDEnglishSouthAfrica |
msoLanguageIDEnglishTrinidad |
msoLanguageIDEnglishUK |
msoLanguageIDEnglishUS |
msoLanguageIDEnglishZimbabwe |
msoLanguageIDEstonian |
msoLanguageIDFaeroese |
msoLanguageIDFarsi |
msoLanguageIDFinnish |
msoLanguageIDFrench |
msoLanguageIDFrenchCameroon |
msoLanguageIDFrenchCanadian |
msoLanguageIDFrenchCotedIvoire |
msoLanguageIDFrenchLuxembourg |
msoLanguageIDFrenchMali |
msoLanguageIDFrenchMonaco |
msoLanguageIDFrenchReunion |
msoLanguageIDFrenchSenegal |
msoLanguageIDFrenchWestIndies |
msoLanguageIDFrenchZaire |
msoLanguageIDFrisianNetherlands |
msoLanguageIDGaelicIreland |
msoLanguageIDGaelicScotland |
msoLanguageIDGalician |
msoLanguageIDGeorgian |
msoLanguageIDGerman |
msoLanguageIDGermanAustria |
msoLanguageIDGermanLiechtenstein |
msoLanguageIDGermanLuxembourg |
msoLanguageIDGreek |
msoLanguageIDGujarati |
msoLanguageIDHebrew |
msoLanguageIDHindi |
msoLanguageIDHungarian |
msoLanguageIDIcelandic |
msoLanguageIDIndonesian |
msoLanguageIDInuktitut |
msoLanguageIDItalian |
msoLanguageIDJapanese |
msoLanguageIDKannada |
msoLanguageIDKashmiri |
msoLanguageIDKazakh |
msoLanguageIDKhmer |
msoLanguageIDKirghiz |
msoLanguageIDKonkani |
msoLanguageIDKorean |
msoLanguageIDLao |
msoLanguageIDLatvian |
msoLanguageIDLithuanian |
msoLanguageIDMacedonian |
msoLanguageIDMalayalam |
msoLanguageIDMalayBruneiDarussalam |
msoLanguageIDMalaysian |
msoLanguageIDMaltese |
msoLanguageIDManipuri |
msoLanguageIDMarathi |
msoLanguageIDMexicanSpanish |
msoLanguageIDMixed |
msoLanguageIDMongolian |
msoLanguageIDNepali |
msoLanguageIDNone |
msoLanguageIDNoProofing |
msoLanguageIDNorwegianBokmol |
msoLanguageIDNorwegianNynorsk |
msoLanguageIDOriya |
msoLanguageIDOromo |
msoLanguageIDPolish |
msoLanguageIDPortuguese |
msoLanguageIDPunjabi |
msoLanguageIDRhaetoRomanic |
msoLanguageIDRomanian |
msoLanguageIDRomanianMoldova |
msoLanguageIDRussian |
msoLanguageIDRussianMoldova |
msoLanguageIDSamiLappish |
msoLanguageIDSanskrit |
msoLanguageIDSerbianCyrillic |
msoLanguageIDSerbianLatin |
msoLanguageIDSesotho |
msoLanguageIDSimplifiedChinese |
msoLanguageIDSindhi |
msoLanguageIDSlovak |
msoLanguageIDSlovenian |
msoLanguageIDSorbian |
msoLanguageIDSpanish |
msoLanguageIDSpanishArgentina |
msoLanguageIDSpanishBolivia |
msoLanguageIDSpanishChile |
msoLanguageIDSpanishColombia |
msoLanguageIDSpanishCostaRica |
msoLanguageIDSpanishDominicanRepublic |
msoLanguageIDSpanishEcuador |
msoLanguageIDSpanishElSalvador |
msoLanguageIDSpanishGuatemala |
msoLanguageIDSpanishHonduras |
msoLanguageIDSpanishModernSort |
msoLanguageIDSpanishNicaragua |
msoLanguageIDSpanishPanama |
msoLanguageIDSpanishParaguay |
msoLanguageIDSpanishPeru |
msoLanguageIDSpanishPuertoRico |
msoLanguageIDSpanishUruguay |
msoLanguageIDSpanishVenezuela |
msoLanguageIDSutu |
msoLanguageIDSwahili |
msoLanguageIDSwedish |
msoLanguageIDSwedishFinland |
msoLanguageIDSwissFrench |
msoLanguageIDSwissGerman |
msoLanguageIDSwissItalian |
msoLanguageIDTajik |
msoLanguageIDTamil |
msoLanguageIDTatar |
msoLanguageIDTelugu |
msoLanguageIDThai |
msoLanguageIDTibetan |
msoLanguageIDTigrignaEritrea |
msoLanguageIDTigrignaEthiopic |
msoLanguageIDTraditionalChinese |
msoLanguageIDTsonga |
msoLanguageIDTswana |
msoLanguageIDTurkish |
msoLanguageIDTurkmen |
msoLanguageIDUkrainian |
msoLanguageIDUrdu |
msoLanguageIDUzbekCyrillic |
msoLanguageIDUzbekLatin |
msoLanguageIDVenda |
msoLanguageIDVietnamese |
msoLanguageIDWelsh |
msoLanguageIDXhosa |
msoLanguageIDZulu |
Remarks
You must test all valid msoLanguageID values to enumerate the set of preferred languages.
Example
This example displays a message if U.S. English is a preferred editing language.
If Application.LanguageSettings. _
LanguagePreferredForEditing(msoLanguageIDEnglishUS) Then
MsgBox "One of the preferred editing languages is US English."
End If