O'Reilly logo

Writing Word Macros, Second Edition by Steven Roman PhD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Word Enums

It is also interesting to glance over the list of 192 Word enums. Note that there are some rather large enums in the object model, to wit:

WdWordDialog: 171 constants
WdPageBorderArt: 164 constants
WdKey: 98 constants
WdBuiltinStyle: 91 constants
WdFieldType: 88 constants
WdLanguageID: 64 constants
WdWordDialogTab: 55 constants
WdTextureIndex: 53 constants
WdPaperSize: 42 constants
WdTableFormat: 40 constants

The following list shows these enums, along with a count of the number of constants per enum:

WdAlertLevel (3)

WdDeletedTextMark (4)

WdIndexType (2)

WdAnimation (7)

WdDictionaryType (8)

WdInformation (35)

WdArrangeStyle (2)

WdDictionaryTypeHID (2)

WdInlineShapeType (5)

WdAutoMacros (5)

WdDocumentKind (3)

WdInsertCells (4)

WdAutoVersions (2)

WdDocumentType (2)

WdInsertedTextMark (5)

WdBaselineAlignment (5)

WdDropPosition (3)

WdInternationalIndex (10)

WdBookmarkSortBy (2)

WdEditionOption (8)

WdJustificationMode (3)

WdBorderDistanceFrom (2)

WdEditionType (2)

WdKey (98)

WdBorderType (6)

WdEmphasisMark (5)

WdKeyCategory (9)

WdBorderTypeHID (2)

WdEnableCancelKey (2)

WdLanguageID (64)

WdBreakType (7)

WdEndnoteLocation (2)

WdLetterheadLocation (4)

WdBrowseTarget (12)

WdEnvelopeOrientation (9)

WdLetterStyle (3)

WdBuiltInProperty (30)

WdFarEastLineBreakLevel (3)

WdLineSpacing (6)

WdBuiltinStyle (91)

WdFieldKind (4)

WdLineStyle (23)

WdCaptionLabelID (3)

WdFieldShading (3)

WdLineWidth (9)

WdCaptionNumberStyle (5)

WdFieldType (88)

WdLinkType ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required