Returns the encoding used to open the specified document. Read-only MsoEncoding.
MsoEncoding can be one of these MsoEncoding constants; however, you cannot use any of the constants that have the suffix AutoDetect. These constants are used by the ReloadAs method. |
msoEncodingOEMMultilingualLatinI |
msoEncodingOEMNordic |
msoEncodingOEMTurkish |
msoEncodingSimplifiedChineseAutoDetect |
msoEncodingT61 |
msoEncodingTaiwanEten |
msoEncodingTaiwanTCA |
msoEncodingTaiwanWang |
msoEncodingTraditionalChineseAutoDetect |
msoEncodingTurkish |
msoEncodingUnicodeLittleEndian |
msoEncodingUTF7 |
msoEncodingVietnamese |
msoEncodingEBCDICJapaneseKatakanaExtended |
msoEncodingEBCDICJapaneseLatinExtendedAndJapanese |
msoEncodingEBCDICKoreanExtendedAndKorean |
msoEncodingEBCDICMultilingualROECELatin2 |
msoEncodingEBCDICSerbianBulgarian |
msoEncodingEBCDICThai |
msoEncodingEBCDICTurkishLatin5 |
msoEncodingEBCDICUSCanada |
msoEncodingEBCDICUSCanadaAndTraditionalChinese |
msoEncodingOEMModernGreek |
msoEncodingOEMMultilingualLatinII |
msoEncodingOEMPortuguese |
msoEncodingOEMUnitedStates |
msoEncodingSimplifiedChineseGBK |
msoEncodingTaiwanCNS |
msoEncodingTaiwanIBM5550 |
msoEncodingTaiwanTeleText |
msoEncodingThai |
msoEncodingTraditionalChineseBig5 |
msoEncodingUnicodeBigEndian |
msoEncodingUSASCII |
msoEncodingUTF8 |
msoEncodingWestern |
msoEncodingArabic |
msoEncodingArabicASMO |
msoEncodingArabicAutoDetect |
msoEncodingArabicTransparentASMO |
msoEncodingAutoDetect |
msoEncodingBaltic |
msoEncodingCentralEuropean |
msoEncodingCyrillic |
msoEncodingCyrillicAutoDetect |
msoEncodingEBCDICArabic |
msoEncodingEBCDICDenmarkNorway |
msoEncodingEBCDICFinlandSweden |
msoEncodingEBCDICFrance |
msoEncodingEBCDICGermany |
msoEncodingEBCDICGreek |
msoEncodingEBCDICGreekModern |
msoEncodingEBCDICHebrew |
msoEncodingEBCDICIcelandic |
msoEncodingEBCDICInternational |
msoEncodingEBCDICItaly |
msoEncodingEBCDICJapaneseKatakanaExtendedAndJapanese |
msoEncodingEBCDICKoreanExtended |
msoEncodingEBCDICLatinAmericaSpain |
msoEncodingEBCDICRussian |
msoEncodingEBCDICSimplifiedChineseExtendedAndSimplifiedChinese |
msoEncodingEBCDICTurkish |
msoEncodingEBCDICUnitedKingdom |
msoEncodingEBCDICUSCanadaAndJapanese |
msoEncodingEUCChineseSimplifiedChinese |
msoEncodingEUCJapanese |
msoEncodingEUCKorean |
msoEncodingEUCTaiwaneseTraditionalChinese |
msoEncodingEuropa3 |
msoEncodingExtAlphaLowercase |
msoEncodingGreek |
msoEncodingGreekAutoDetect |
msoEncodingHebrew |
msoEncodingHZGBSimplifiedChinese |
msoEncodingIA5German |
msoEncodingIA5IRV |
msoEncodingIA5Norwegian |
msoEncodingIA5Swedish |
msoEncodingISO2022CNSimplifiedChinese |
msoEncodingISO2022CNTraditionalChinese |
msoEncodingISO2022JPJISX02011989 |
msoEncodingISO2022JPJISX02021984 |
msoEncodingISO2022JPNoHalfwidthKatakana |
msoEncodingISO2022KR |
msoEncodingISO6937NonSpacingAccent |
msoEncodingISO885915Latin9 |
msoEncodingISO88591Latin1 |
msoEncodingISO88592CentralEurope |
msoEncodingISO88593Latin3 |
msoEncodingISO88594Baltic |
msoEncodingISO88595Cyrillic |
msoEncodingISO88596Arabic |
msoEncodingISO88597Greek |
msoEncodingISO88598Hebrew |
msoEncodingISO88599Turkish |
msoEncodingJapaneseAutoDetect |
msoEncodingJapaneseShiftJIS |
msoEncodingKOI8R |
msoEncodingKOI8U |
msoEncodingKorean |
msoEncodingKoreanAutoDetect |
msoEncodingKoreanJohab |
msoEncodingMacArabic |
msoEncodingMacCroatia |
msoEncodingMacCyrillic |
msoEncodingMacGreek1 |
msoEncodingMacHebrew |
msoEncodingMacIcelandic |
msoEncodingMacJapanese |
msoEncodingMacKorean |
msoEncodingMacLatin2 |
msoEncodingMacRoman |
msoEncodingMacRomania |
msoEncodingMacSimplifiedChineseGB2312 |
msoEncodingMacTraditionalChineseBig5 |
msoEncodingMacTurkish |
msoEncodingMacUkraine |
msoEncodingOEMArabic |
msoEncodingOEMBaltic |
msoEncodingOEMCanadianFrench |
msoEncodingOEMCyrillic |
msoEncodingOEMCyrillicII |
msoEncodingOEMGreek437G |
msoEncodingOEMHebrew |
msoEncodingOEMIcelandic |
expression.OpenEncoding
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example tests whether the current document was opened with UTF7 encoding.
If ActiveDocument.OpenEncoding = msoEncodingUTF7 Then
MsgBox "This is a UTF7-encoded text file!"
Else
MsgBox "This is not a UTF7-encoded text file!"
End If