ID Property

ID property as it applies to the CaptionLabel object.

WdCaptionLabelID

WdCaptionLabelID can be one of these WdCaptionLabelID constants.
wdCaptionEquation
wdCaptionTable
wdCaptionFigure

expression.ID

expression Required. An expression that returns a CaptionLabel object.

ID property as it applies to the Language object.

WdLanguageID

WdLanguageID can be one of these WdLanguageID constants.
wdAfrikaans
wdAlbanian
wdAmharic
wdArabic
wdArabicAlgeria
wdArabicBahrain
wdArabicEgypt
wdArabicIraq
wdArabicJordan
wdArabicKuwait
wdArabicLebanon
wdArabicLibya
wdArabicMorocco
wdArabicOman
wdArabicQatar
wdArabicSyria
wdArabicTunisia
wdArabicUAE
wdArabicYemen
wdArmenian
wdAssamese
wdAzeriCyrillic
wdAzeriLatin
wdBelgianDutch
wdBengali
wdBulgarian
wdByelorussian
wdCherokee
wdChineseMacao
wdCroatian
wdDanish
wdEnglishAUS
wdEnglishCanadian
wdEnglishIreland
wdEnglishNewZealand
wdEnglishSouthAfrica
wdEnglishUK
wdEnglishZimbabwe
wdFaeroese
wdFinnish
wdFrenchCameroon
wdFrenchCotedIvoire
wdFrenchMali
wdFrenchReunion
wdFrenchWestIndies
wdFrisianNetherlands
wdGaelicScotland
wdGeorgian
wdGermanAustria
wdGermanLuxembourg
wdGujarati
wdHindi
wdIcelandic
wdInuktitut
wdJapanese
wdKashmiri
wdKhmer
wdKonkani
wdLanguageNone
wdLatvian
wdMacedonian
wdMalayBruneiDarussalam
wdMaltese
wdMarathi
wdMongolian
wdNoProofing
wdNorwegianNynorsk
wdPolish
wdPunjabi
wdRomanian
wdRussian
wdSamiLappish
wdSerbianCyrillic
wdSesotho
wdSindhi
wdSlovenian
wdSpanish
wdSpanishBolivia
wdSpanishColombia
wdSpanishDominicanRepublic
wdSpanishElSalvador
wdSpanishHonduras
wdSpanishNicaragua
wdSpanishParaguay
wdSpanishPuertoRico
wdSpanishVenezuela
wdSwahili
wdSwedishFinland
wdSwissGerman
wdTajik
wdTatar
wdThai
wdTraditionalChinese
wdTswana
wdBasque
wdBelgianFrench
wdBrazilianPortuguese
wdBurmese
wdCatalan
wdChineseHongKong
wdChineseSingapore
wdCzech
wdDutch
wdEnglishBelize
wdEnglishCaribbean
wdEnglishJamaica
wdEnglishPhilippines
wdEnglishTrinidad
wdEnglishUS
wdEstonian
wdFarsi
wdFrench
wdFrenchCanadian
wdFrenchLuxembourg
wdFrenchMonaco
wdFrenchSenegal
wdFrenchZaire
wdGaelicIreland
wdGalician
wdGerman
wdGermanLiechtenstein
wdGreek
wdHebrew
wdHungarian
wdIndonesian
wdItalian
wdKannada
wdKazakh
wdKirghiz
wdKorean
wdLao
wdLithuanian
wdMalayalam
wdMalaysian
wdManipuri
wdMexicanSpanish
wdNepali
wdNorwegianBokmol
wdOriya
wdPortuguese
wdRhaetoRomanic
wdRomanianMoldova
wdRussianMoldova
wdSanskrit
wdSerbianLatin
wdSimplifiedChinese
wdSlovak
wdSorbian
wdSpanishArgentina
wdSpanishChile
wdSpanishCostaRica
wdSpanishEcuador
wdSpanishGuatemala
wdSpanishModernSort
wdSpanishPanama
wdSpanishPeru
wdSpanishUruguay
wdSutu
wdSwedish
wdSwissFrench
wdSwissItalian
wdTamil
wdTelugu
wdTibetan
wdTsonga
wdTurkish
wdTurkmen
wdUkrainian
wdUrdu
wdUzbekCyrillic
wdUzbekLatin
wdVenda
wdVietnamese
wdWelsh
wdXhosa
wdZulu

expression.ID

expression Required. An expression that returns a Language object.

ID property as it applies to the Shape and ShapeRange objects.

Returns the type for the specified object. Read-only Long.

expression.ID

expression Required. An expression that returns one of the above objects.

ID property as it applies to all other objects in the Applies To list.

Returns or sets the identifying label for the specified object when the current document is saved as a Web page. Read/write String. With the exception of the Editor object, you can use a label as a hyperlink reference from other Web pages or from within the current document. Read/write String.

Note  The Object Browser states that the ID property for the Range object is read/write. However, Microsoft Word does not store the ID property setting for a Range object. If you set the ID property and then return its value, the returned value will be an empty String.

expression.ID

expression Required. An expression that returns one of the above objects.

Example

As it applies to the CaptionLabel object.

This example displays the built-in caption label names and ID values.

For Each cl In CaptionLabels
    If cl.BuiltIn = True Then MsgBox cl.Name & " " & cl.ID
Next cl

As it applies to the Language object.

This example formats the selection with the Icelandic proofing tools language.

Selection.LanguageID = Languages("Icelandic").ID

As it applies to the Range object.

This example sets the ID of current selection to "target". The selection will become the target of a hyperlink, defined as <A HREF="#target">History</A>, in the same document.

Selection.Range.ID = "target"

Applies to | CaptionLabel Object | Cell Object | Editor Object | Language Object | Paragraph Object | Range Object | Row Object | Shape Object | ShapeRange Collection Object | Table Object

See Also | BuiltIn Property | CaptionLabel Object | CaptionLabel Property | Language Object