Thanks. That certainly would be an easy approach. I guess I figured that
creating my own constants (with perhaps a different prefix) would be
preferable, to avoid any conflict. But you're right -- if there's no
reference to Word, it shouldn't matter.
And thanks for the list. That's great.
Well, obviously, I have a subroutine for opening Word, for example, which
would be simple to change. What I'm saying is that there are routines
scattered throughout the app that *use* Word for various things, in
different ways. Those routines would have to be gone through one-by-one
and
the intrinsic constants changed to my own constants (and then each routine
tested). Not a terribly huge task; but more than 60 seconds. That was my
original point.
You might consider simply declaring the word constants as public. If
you have no reference to word then there should be no confusion.
Below is a list but you might want to add or remove items:
Public Const wdAlignPageNumberLeft = 0
Public Const wdAlignPageNumberCenter = 1
Public Const wdAlignPageNumberRight = 2
Public Const wdAlignPageNumberInside = 3
Public Const wdAlignPageNumberOutside = 4
Public Const wdBorderTop = -1
Public Const wdBorderLeft = -2
Public Const wdBorderBottom = -3
Public Const wdBorderRight = -4
Public Const wdBorderHorizontal = -5
Public Const wdBorderVertical = -6
Public Const wdBorderDiagonalDown = -7
Public Const wdBorderDiagonalUp = -8
Public Const wdStyleTypeParagraph = 1
Public Const wdStyleTypeCharacter = 2
Public Const wdCharacter = 1
Public Const wdWord = 2
Public Const wdSentence = 3
Public Const wdParagraph = 4
Public Const wdLine = 5
Public Const wdStory = 6
Public Const wdScreen = 7
Public Const wdSection = 8
Public Const wdColumn = 9
Public Const wdRow = 10
Public Const wdWindow = 11
Public Const wdCell = 12
Public Const wdCharacterFormatting = 13
Public Const wdParagraphFormatting = 14
Public Const wdTable = 15
Public Const wdItem = 16
Public Const wdRowHeightAuto = 0
Public Const wdRowHeightAtLeast = 1
Public Const wdRowHeightExactly = 2
Public Const wdInsertCellsShiftRight = 0
Public Const wdInsertCellsShiftDown = 1
Public Const wdInsertCellsEntireRow = 2
Public Const wdInsertCellsEntireColumn = 3
Public Const wdDeleteCellsShiftLeft = 0
Public Const wdDeleteCellsShiftUp = 1
Public Const wdDeleteCellsEntireRow = 2
Public Const wdDeleteCellsEntireColumn = 3
Public Const wdAdjustNone = 0
Public Const wdAdjustProportional = 1
Public Const wdAdjustFirstColumn = 2
Public Const wdAdjustSameWidth = 3
Public Const wdAlignParagraphLeft = 0
Public Const wdAlignParagraphCenter = 1
Public Const wdAlignParagraphRight = 2
Public Const wdAlignParagraphJustify = 3
Public Const wdAlignParagraphDistribute = 4
Public Const wdAlignRowLeft = 0
Public Const wdAlignRowCenter = 1
Public Const wdAlignRowRight = 2
Public Const wdAlignTabLeft = 0
Public Const wdAlignTabCenter = 1
Public Const wdAlignTabRight = 2
Public Const wdAlignTabDecimal = 3
Public Const wdAlignTabBar = 4
Public Const wdAlignTabList = 6
Public Const wdAlignVerticalTop = 0
Public Const wdAlignVerticalCenter = 1
Public Const wdAlignVerticalJustify = 2
Public Const wdAlignVerticalBottom = 3
Public Const wdCellAlignVerticalTop = 0
Public Const wdCellAlignVerticalCenter = 1
Public Const wdCellAlignVerticalBottom = 3
Public Const wdPageBreak = 7
Public Const wdWindowStateNormal = 0
Public Const wdWindowStateMaximize = 1
Public Const wdWindowStateMinimize = 2
Public Const wdKeyPause = 19
Public Const wdKeyEsc = 27
Public Const wdKeySpacebar = 32
Public Const wdKeyPageUp = 33
Public Const wdKeyPageDown = 34
Public Const wdKeyEnd = 35
Public Const wdKeyHome = 36
Public Const wdKeyInsert = 45
Public Const wdKeyDelete = 46
Public Const wdKeyNumeric0 = 96
Public Const wdKeyNumeric1 = 97
Public Const wdKeyNumeric2 = 98
Public Const wdKeyNumeric3 = 99
Public Const wdKeyNumeric4 = 100
Public Const wdKeyNumeric5 = 101
Public Const wdKeyNumeric6 = 102
Public Const wdKeyNumeric7 = 103
Public Const wdKeyNumeric8 = 104
Public Const wdKeyNumeric9 = 105
Public Const wdKeyNumericMultiply = 106
Public Const wdKeyNumericAdd = 107
Public Const wdKeyNumericSubtract = 109
Public Const wdKeyNumericDecimal = 110
Public Const wdKeyNumericDivide = 111
Public Const wdKeyF1 = 112
Public Const wdKeyF2 = 113
Public Const wdKeyF3 = 114
Public Const wdKeyF4 = 115
Public Const wdKeyF5 = 116
Public Const wdKeyF6 = 117
Public Const wdKeyF7 = 118
Public Const wdKeyF8 = 119
Public Const wdKeyF9 = 120
Public Const wdKeyF10 = 121
Public Const wdKeyF11 = 122
Public Const wdKeyF12 = 123
Public Const wdKeyF13 = 124
Public Const wdKeyF14 = 125
Public Const wdKeyF15 = 126
Public Const wdKeyF16 = 127
Public Const wdKeyScrollLock = 145
Public Const wdKeySemiColon = 186
Public Const wdKeyEquals = 187
Public Const wdKeyComma = 188
Public Const wdKeyHyphen = 189
Public Const wdKeyPeriod = 190
Public Const wdKeySlash = 191
Public Const wdKeyBackSingleQuote = 192
Public Const wdKeyOpenSquareBrace = 219
Public Const wdKeyBackSlash = 220
Public Const wdKeyCloseSquareBrace = 221
Public Const wdKeySingleQuote = 222
Public Const wdOLELink = 0
Public Const wdOLEEmbed = 1
Public Const wdOLEControl = 2
Public Const wdOLEVerbPrimary = 0
Public Const wdOLEVerbShow = -1
Public Const wdOLEVerbOpen = -2
Public Const wdOLEVerbHide = -3
Public Const wdOLEVerbUIActivate = -4
Public Const wdOLEVerbInPlaceActivate = -5
Public Const wdOLEVerbDiscardUndoState = -6
Public Const wdInLine = 0
Public Const wdFloatOverText = 1
Public Const wdLeftPortrait = 0
Public Const wdCenterPortrait = 1
Public Const wdRightPortrait = 2
Public Const wdLeftLandscape = 3
Public Const wdCenterLandscape = 4
Public Const wdRightLandscape = 5
Public Const wdLeftClockwise = 6
Public Const wdCenterClockwise = 7
Public Const wdRightClockwise = 8
Public Const wdFullBlock = 0
Public Const wdModifiedBlock = 1
Public Const wdSemiBlock = 2
Public Const wdLetterTop = 0
Public Const wdLetterBottom = 1
Public Const wdLetterLeft = 2
Public Const wdLetterRight = 3
Public Const wdSalutationInformal = 0
Public Const wdSalutationFormal = 1
Public Const wdSalutationBusiness = 2
Public Const wdSalutationOther = 3
Public Const wdGenderFemale = 0
Public Const wdGenderMale = 1
Public Const wdGenderNeutral = 2
Public Const wdGenderUnknown = 3
Public Const wdMove = 0
Public Const wdExtend = 1
Public Const wdUn = 9999999
Public Const wdToggle = 9999998
Public Const wdForward = 1073741823
Public Const wdBackward = -1073741823
Public Const wdAutoPosition = 0
Public Const wdFirst = 1
Public Const wdCreatorCode = 1297307460
Public Const wdPasteOLEObject = 0
Public Const wdPasteRTF = 1
Public Const wdPasteText = 2
Public Const wdPasteMetafilePicture = 3
Public Const wdPasteBitmap = 4
Public Const wdPasteDeviceIndependentBitmap = 5
Public Const wdPasteHyperlink = 7
Public Const wdPasteShape = 8
Public Const wdPasteEnhancedMetafile = 9
Public Const wdPrintDocumentContent = 0
Public Const wdPrintProperties = 1
Public Const wdPrintComments = 2
Public Const wdPrintStyles = 3
Public Const wdPrintAutoTextEntries = 4
Public Const wdPrintKeyAssignments = 5
Public Const wdPrintEnvelope = 6
Public Const wdPrintAllPages = 0
Public Const wdPrintOddPagesOnly = 1
Public Const wdPrintEvenPagesOnly = 2
Public Const wdPrintAllDocument = 0
Public Const wdPrintSelection = 1
Public Const wdPrintCurrentPage = 2
Public Const wdPrintFromTo = 3
Public Const wdPrintRangeOfPages = 4
Public Const wdSpelling = 0
Public Const wdGrammar = 1
Public Const wdThesaurus = 2
Public Const wdHyphenation = 3
Public Const wdSpellingComplete = 4
Public Const wdSpellingCustom = 5
Public Const wdSpellingLegal = 6
Public Const wdSpellingMedical = 7
Public Const wdHangulHanjaConversion = 8
Public Const wdHangulHanjaConversionCustom = 9
Public Const wdSpellword = 0
Public Const wdWildcard = 1
Public Const wdAnagram = 2
Public Const wdSpellingCorrect = 0
Public Const wdSpellingNotInDictionary = 1
Public Const wdSpellingCapitalization = 2
Public Const wdSpellingError = 0
Public Const wdGrammaticalError = 1
Public Const wdInlineShapeEmbeddedOLEObject = 1
Public Const wdInlineShapeLinkedOLEObject = 2
Public Const wdInlineShapePicture = 3
Public Const wdInlineShapeLinkedPicture = 4
Public Const wdInlineShapeOLEControlObject = 5
Public Const wdTiled = 0
Public Const wdIcons = 1
Public Const wdSelStartActive = 1
Public Const wdSelAtEOL = 2
Public Const wdSelOvertype = 4
Public Const wdSelActive = 8
Public Const wdSelReplace = 16
Public Const wdAutoVersionOff = 0
Public Const wdAutoVersionOnClose = 1
Public Const wdOrganizerObjectStyles = 0
Public Const wdOrganizerObjectAutoText = 1
Public Const wdOrganizerObjectCommandBars = 2
Public Const wdOrganizerObjectProjectItems = 3
Public Const wdMatchParagraphMark = 65551
Public Const wdMatchTabCharacter = 9
Public Const wdMatchCommentMark = 5
Public Const wdMatchAnyCharacter = 65599
Public Const wdMatchAnyDigit = 65567
Public Const wdMatchAnyLetter = 65583
Public Const wdMatchCaretCharacter = 11
Public Const wdMatchColumnBreak = 14
Public Const wdMatchEmDash = 8212
Public Const wdMatchEnDash = 8211
Public Const wdMatchEndnoteMark = 65555
Public Const wdMatchField = 19
Public Const wdMatchFootnoteMark = 65554
Public Const wdMatchGraphic = 1
Public Const wdMatchManualLineBreak = 65551
Public Const wdMatchManualPageBreak = 65564
Public Const wdMatchNonbreakingHyphen = 30
Public Const wdMatchNonbreakingSpace = 160
Public Const wdMatchOptionalHyphen = 31
Public Const wdMatchSectionBreak = 65580
Public Const wdMatchWhiteSpace = 65655
Public Const wdFindStop = 0
Public Const wdFindContinue = 1
Public Const wdFindAsk = 2
Public Const wdActiveEndAdjustedPageNumber = 1
Public Const wdActiveEndSectionNumber = 2
Public Const wdActiveEndPageNumber = 3
Public Const wdNumberOfPagesInDocument = 4
Public Const wdHorizontalPositionRelativeToPage = 5
Public Const wdVerticalPositionRelativeToPage = 6
'Public Const wdHorizontalPositionRelativeToTextBoundary =7
'Public Const wdVerticalPositionRelativeToTextBoundary =8
Public Const wdFirstCharacterColumnNumber = 9
Public Const wdFirstCharacterLineNumber = 10
Public Const wdFrameIsSelected = 11
Public Const wdWithInTable = 12
Public Const wdStartOfRangeRowNumber = 13
Public Const wdEndOfRangeRowNumber = 14
Public Const wdMaximumNumberOfRows = 15
Public Const wdStartOfRangeColumnNumber = 16
Public Const wdEndOfRangeColumnNumber = 17
Public Const wdMaximumNumberOfColumns = 18
Public Const wdZoomPercentage = 19
Public Const wdSelectionMode = 20
Public Const wdCapsLock = 21
Public Const wdNumLock = 22
Public Const wdOverType = 23
Public Const wdRevisionMarking = 24
Public Const wdInFootnoteEndnotePane = 25
Public Const wdInCommentPane = 26
Public Const wdInHeaderFooter = 28
Public Const wdAtEndOfRowMarker = 31
Public Const wdReferenceOfType = 32
Public Const wdHeaderFooterType = 33
Public Const wdInMasterDocument = 34
Public Const wdInFootnote = 35
Public Const wdInEndnote = 36
Public Const wdInWordMail = 37
Public Const wdInClipboard = 38
Public Const wdWrapSquare = 0
Public Const wdWrapTight = 1
Public Const wdWrapThrough = 2
Public Const wdWrapNone = 3
Public Const wdWrapTopBottom = 4
Public Const wdWrapBoth = 0
Public Const wdWrapLeft = 1
Public Const wdWrapRight = 2
Public Const wdWrapLargest = 3
Public Const wdOutlineLevel1 = 1
Public Const wdOutlineLevel2 = 2
Public Const wdOutlineLevel3 = 3
Public Const wdOutlineLevel4 = 4
Public Const wdOutlineLevel5 = 5
Public Const wdOutlineLevel6 = 6
Public Const wdOutlineLevel7 = 7
Public Const wdOutlineLevel8 = 8
Public Const wdOutlineLevel9 = 9
Public Const wdOutlineLevelBodyText = 10
Public Const wdTextOrientationHorizontal = 0
Public Const wdTextOrientationUpward = 2
Public Const wdTextOrientationDownward = 3
'Public Const wdTextOrientationVerticalFarEast =1
'Public Const wdTextOrientationHorizontalRotatedFarEast =4
Public Const wdArtApples = 1
Public Const wdArtMapleMuffins = 2
Public Const wdArtCakeSlice = 3
Public Const wdArtCandyCorn = 4
Public Const wdArtIceCreamCones = 5
Public Const wdArtChampagneBottle = 6
Public Const wdArtPartyGlass = 7
Public Const wdArtChristmasTree = 8
Public Const wdArtTrees = 9
Public Const wdArtPalmsColor = 10
Public Const wdArtBalloons3Colors = 11
Public Const wdArtBalloonsHotAir = 12
Public Const wdArtPartyFavor = 13
Public Const wdArtConfettiStreamers = 14
Public Const wdArtHearts = 15
Public Const wdArtHeartBalloon = 16
Public Const wdArtStars3D = 17
Public Const wdArtStarsShadowed = 18
Public Const wdArtStars = 19
Public Const wdArtSun = 20
Public Const wdArtEarth2 = 21
Public Const wdArtEarth1 = 22
Public Const wdArtPeopleHats = 23
Public Const wdArtSombrero = 24
Public Const wdArtPencils = 25
Public Const wdArtPackages = 26
Public Const wdArtClocks = 27
Public Const wdArtFirecrackers = 28
Public Const wdArtRings = 29
Public Const wdArtMapPins = 30
Public Const wdArtConfetti = 31
Public Const wdArtCreaturesButterfly = 32
Public Const wdArtCreaturesLadyBug = 33
Public Const wdArtCreaturesFish = 34
Public Const wdArtBirdsFlight = 35
Public Const wdArtScaredCat = 36
Public Const wdArtBats = 37
Public Const wdArtFlowersRoses = 38
Public Const wdArtFlowersRedRose = 39
Public Const wdArtPoinsettias = 40
Public Const wdArtHolly = 41
Public Const wdArtFlowersTiny = 42
Public Const wdArtFlowersPansy = 43
Public Const wdArtFlowersModern2 = 44
Public Const wdArtFlowersModern1 = 45
Public Const wdArtWhiteFlowers = 46
Public Const wdArtVine = 47
Public Const wdArtFlowersDaisies = 48
Public Const wdArtFlowersBlockPrint = 49
Public Const wdArtDecoArchColor = 50
Public Const wdArtFans = 51
Public Const wdArtFilm = 52
Public Const wdArtLightning1 = 53
Public Const wdArtCompass = 54
Public Const wdArtDoubleD = 55
Public Const wdArtClassicalWave = 56
Public Const wdArtShadowedSquares = 57
Public Const wdArtTwistedLines1 = 58
Public Const wdArtWaveline = 59
Public Const wdArtQuadrants = 60
Public Const wdArtCheckedBarColor = 61
Public Const wdArtSwirligig = 62
Public Const wdArtPushPinNote1 = 63
Public Const wdArtPushPinNote2 = 64
Public Const wdArtPumpkin1 = 65
Public Const wdArtEggsBlack = 66
Public Const wdArtCup = 67
Public Const wdArtHeartGray = 68
Public Const wdArtGingerbreadMan = 69
Public Const wdArtBabyPacifier = 70
Public Const wdArtBabyRattle = 71
Public Const wdArtCabins = 72
Public Const wdArtHouseFunky = 73
Public Const wdArtStarsBlack = 74
Public Const wdArtSnowflakes = 75
Public Const wdArtSnowflakeFancy = 76
Public Const wdArtSkyrocket = 77
Public Const wdArtSeattle = 78
Public Const wdArtMusicNotes = 79
Public Const wdArtPalmsBlack = 80
Public Const wdArtMapleLeaf = 81
Public Const wdArtPaperClips = 82
Public Const wdArtShorebirdTracks = 83
Public Const wdArtPeople = 84
Public Const wdArtPeopleWaving = 85
Public Const wdArtEclipsingSquares2 = 86
Public Const wdArtHypnotic = 87
Public Const wdArtDiamondsGray = 88
Public Const wdArtDecoArch = 89
Public Const wdArtDecoBlocks = 90
Public Const wdArtCirclesLines = 91
Public Const wdArtPapyrus = 92
Public Const wdArtWoodwork = 93
Public Const wdArtWeavingBraid = 94
Public Const wdArtWeavingRibbon = 95
Public Const wdArtWeavingAngles = 96
Public Const wdArtArchedScallops = 97
Public Const wdArtSafari = 98
Public Const wdArtCelticKnotwork = 99
Public Const wdArtCrazyMaze = 100
Public Const wdArtEclipsingSquares1 = 101
Public Const wdArtBirds = 102
Public Const wdArtFlowersTeacup = 103
Public Const wdArtNorthwest = 104
Public Const wdArtSouthwest = 105
Public Const wdArtTribal6 = 106
Public Const wdArtTribal4 = 107
Public Const wdArtTribal3 = 108
Public Const wdArtTribal2 = 109
Public Const wdArtTribal5 = 110
Public Const wdArtXIllusions = 111
Public Const wdArtZanyTriangles = 112
Public Const wdArtPyramids = 113
Public Const wdArtPyramidsAbove = 114
Public Const wdArtConfettiGrays = 115
Public Const wdArtConfettiOutline = 116
Public Const wdArtConfettiWhite = 117
Public Const wdArtMosaic = 118
Public Const wdArtLightning2 = 119
Public Const wdArtHeebieJeebies = 120
Public Const wdArtLightBulb = 121
Public Const wdArtGradient = 122
Public Const wdArtTriangleParty = 123
Public Const wdArtTwistedLines2 = 124
Public Const wdArtMoons = 125
Public Const wdArtOvals = 126
Public Const wdArtDoubleDiamonds = 127
Public Const wdArtChainLink = 128
Public Const wdArtTriangles = 129
Public Const wdArtTribal1 = 130
Public Const wdArtMarqueeToothed = 131
Public Const wdArtSharksTeeth = 132
Public Const wdArtSawtooth = 133
Public Const wdArtSawtoothGray = 134
Public Const wdArtPostageStamp = 135
Public Const wdArtWeavingStrips = 136
Public Const wdArtZigZag = 137
Public Const wdArtCrossStitch = 138
Public Const wdArtGems = 139
Public Const wdArtCirclesRectangles = 140
Public Const wdArtCornerTriangles = 141
Public Const wdArtCreaturesInsects = 142
Public Const wdArtZigZagStitch = 143
Public Const wdArtCheckered = 144
Public Const wdArtCheckedBarBlack = 145
Public Const wdArtMarquee = 146
Public Const wdArtBasicWhiteDots = 147
Public Const wdArtBasicWideMidline = 148
Public Const wdArtBasicWideOutline = 149
Public Const wdArtBasicWideInline = 150
Public Const wdArtBasicThinLines = 151
Public Const wdArtBasicWhiteDashes = 152
Public Const wdArtBasicWhiteSquares = 153
Public Const wdArtBasicBlackSquares = 154
Public Const wdArtBasicBlackDashes = 155
Public Const wdArtBasicBlackDots = 156
Public Const wdArtStarsTop = 157
Public Const wdArtCertificateBanner = 158
Public Const wdArtHandmade1 = 159
Public Const wdArtHandmade2 = 160
Public Const wdArtTornPaper = 161
Public Const wdArtTornPaperBlack = 162
Public Const wdArtCouponCutoutDashes = 163
Public Const wdArtCouponCutoutDots = 164
Public Const wdBorderDistanceFromText = 0
Public Const wdBorderDistanceFromPageEdge = 1
Public Const wdOrientPortrait = 0
Public Const wdOrientLandscape = 1
Public Const wdReplaceNone = 0
Public Const wdReplaceOne = 1
Public Const wdReplaceAll = 2
Public Const wdFontBiasDontCare = 255
Public Const wdFontBiasDefault = 0
Public Const wdFontBiasFareast = 1
'* WdGoToItem
Public Const wdGoToBookmark = -1
Public Const wdGoToSection = 0
Public Const wdGoToPage = 1
Public Const wdGoToTable = 2
Public Const wdGoToLine = 3
Public Const wdGoToFootnote = 4
Public Const wdGoToEndnote = 5
Public Const wdGoToComment = 6
Public Const wdGoToField = 7
Public Const wdGoToGraphic = 8
Public Const wdGoToObject = 9
Public Const wdGoToEquation = 10
Public Const wdGoToHeading = 11
Public Const wdGoToPercent = 12
Public Const wdGoToSpellingError = 13
Public Const wdGoToGrammaticalError = 14
Public Const wdGoToProofreadingError = 15
'* WdGoToDirection
Public Const wdGoToFirst = 1
Public Const wdGoToLast = -1
Public Const wdGoToNext = 2
Public Const wdGoToRelative = 2
Public Const wdGoToPrevious = 3
Public Const wdGoToAbsolute = 1
_________________
Cordialement
Stéphane Maillard
Webmaster Dominoarea
http://www.dominoarea.org
Revenir en haut de page Aller en bas Voir le profil de l'utilisateur
Envoyer un message privé Envoyer un e-mail Visiter le site web de
l'utilisateur MSN Messenger
Message Posté le: 17 Oct 2005 à 12:26 Revenir en haut de page
Aller en bas
Auteur Message
oguruma
Administrateur
Administrateur
Absent
Inscrit le: 16 Déc 2004
Messages: 3983
Localisation: LILLE
97645 Points
Sexe:
j 'ai été améné à la compléter... voici :
'Public Constantes Winword
Public Const wdAlignPageNumberLeft = 0
Public Const wdAlignPageNumberCenter = 1
Public Const wdAlignPageNumberRight = 2
Public Const wdAlignPageNumberInside = 3
Public Const wdAlignPageNumberOutside = 4
Public Const wdBorderTop = -1
Public Const wdBorderLeft = -2
Public Const wdBorderBottom = -3
Public Const wdBorderRight = -4
Public Const wdBorderHorizontal = -5
Public Const wdBorderVertical = -6
Public Const wdBorderDiagonalDown = -7
Public Const wdBorderDiagonalUp = -8
Public Const wdStyleTypeParagraph = 1
Public Const wdStyleTypeCharacter = 2
Public Const wdCharacter = 1
Public Const wdWord = 2
Public Const wdSentence = 3
Public Const wdParagraph = 4
Public Const wdLine = 5
Public Const wdStory = 6
Public Const wdScreen = 7
Public Const wdSection = 8
Public Const wdColumn = 9
Public Const wdRow = 10
Public Const wdWindow = 11
Public Const wdCell = 12
Public Const wdCharacterFormatting = 13
Public Const wdParagraphFormatting = 14
Public Const wdTable = 15
Public Const wdItem = 16
Public Const wdRowHeightAuto = 0
Public Const wdRowHeightAtLeast = 1
Public Const wdRowHeightExactly = 2
Public Const wdInsertCellsShiftRight = 0
Public Const wdInsertCellsShiftDown = 1
Public Const wdInsertCellsEntireRow = 2
Public Const wdInsertCellsEntireColumn = 3
Public Const wdDeleteCellsShiftLeft = 0
Public Const wdDeleteCellsShiftUp = 1
Public Const wdDeleteCellsEntireRow = 2
Public Const wdDeleteCellsEntireColumn = 3
Public Const wdAdjustNone = 0
Public Const wdAdjustProportional = 1
Public Const wdAdjustFirstColumn = 2
Public Const wdAdjustSameWidth = 3
Public Const wdAlignParagraphLeft = 0
Public Const wdAlignParagraphCenter = 1
Public Const wdAlignParagraphRight = 2
Public Const wdAlignParagraphJustify = 3
Public Const wdAlignParagraphDistribute = 4
Public Const wdAlignRowLeft = 0
Public Const wdAlignRowCenter = 1
Public Const wdAlignRowRight = 2
Public Const wdAlignTabLeft = 0
Public Const wdAlignTabCenter = 1
Public Const wdAlignTabRight = 2
Public Const wdAlignTabDecimal = 3
Public Const wdAlignTabBar = 4
Public Const wdAlignTabList = 6
Public Const wdAlignVerticalTop = 0
Public Const wdAlignVerticalCenter = 1
Public Const wdAlignVerticalJustify = 2
Public Const wdAlignVerticalBottom = 3
Public Const wdCellAlignVerticalTop = 0
Public Const wdCellAlignVerticalCenter = 1
Public Const wdCellAlignVerticalBottom = 3
Public Const wdPageBreak = 7
Public Const wdWindowStateNormal = 0
Public Const wdWindowStateMaximize = 1
Public Const wdWindowStateMinimize = 2
Public Const wdKeyPause = 19
Public Const wdKeyEsc = 27
Public Const wdKeySpacebar = 32
Public Const wdKeyPageUp = 33
Public Const wdKeyPageDown = 34
Public Const wdKeyEnd = 35
Public Const wdKeyHome = 36
Public Const wdKeyInsert = 45
Public Const wdKeyDelete = 46
Public Const wdKeyNumeric0 = 96
Public Const wdKeyNumeric1 = 97
Public Const wdKeyNumeric2 = 98
Public Const wdKeyNumeric3 = 99
Public Const wdKeyNumeric4 = 100
Public Const wdKeyNumeric5 = 101
Public Const wdKeyNumeric6 = 102
Public Const wdKeyNumeric7 = 103
Public Const wdKeyNumeric8 = 104
Public Const wdKeyNumeric9 = 105
Public Const wdKeyNumericMultiply = 106
Public Const wdKeyNumericAdd = 107
Public Const wdKeyNumericSubtract = 109
Public Const wdKeyNumericDecimal = 110
Public Const wdKeyNumericDivide = 111
Public Const wdKeyF1 = 112
Public Const wdKeyF2 = 113
Public Const wdKeyF3 = 114
Public Const wdKeyF4 = 115
Public Const wdKeyF5 = 116
Public Const wdKeyF6 = 117
Public Const wdKeyF7 = 118
Public Const wdKeyF8 = 119
Public Const wdKeyF9 = 120
Public Const wdKeyF10 = 121
Public Const wdKeyF11 = 122
Public Const wdKeyF12 = 123
Public Const wdKeyF13 = 124
Public Const wdKeyF14 = 125
Public Const wdKeyF15 = 126
Public Const wdKeyF16 = 127
Public Const wdKeyScrollLock = 145
Public Const wdKeySemiColon = 186
Public Const wdKeyEquals = 187
Public Const wdKeyComma = 188
Public Const wdKeyHyphen = 189
Public Const wdKeyPeriod = 190
Public Const wdKeySlash = 191
Public Const wdKeyBackSingleQuote = 192
Public Const wdKeyOpenSquareBrace = 219
Public Const wdKeyBackSlash = 220
Public Const wdKeyCloseSquareBrace = 221
Public Const wdKeySingleQuote = 222
Public Const wdOLELink = 0
Public Const wdOLEEmbed = 1
Public Const wdOLEControl = 2
Public Const wdOLEVerbPrimary = 0
Public Const wdOLEVerbShow = -1
Public Const wdOLEVerbOpen = -2
Public Const wdOLEVerbHide = -3
Public Const wdOLEVerbUIActivate = -4
Public Const wdOLEVerbInPlaceActivate = -5
Public Const wdOLEVerbDiscardUndoState = -6
Public Const wdInLine = 0
Public Const wdFloatOverText = 1
Public Const wdLeftPortrait = 0
Public Const wdCenterPortrait = 1
Public Const wdRightPortrait = 2
Public Const wdLeftLandscape = 3
Public Const wdCenterLandscape = 4
Public Const wdRightLandscape = 5
Public Const wdLeftClockwise = 6
Public Const wdCenterClockwise = 7
Public Const wdRightClockwise = 8
Public Const wdFullBlock = 0
Public Const wdModifiedBlock = 1
Public Const wdSemiBlock = 2
Public Const wdLetterTop = 0
Public Const wdLetterBottom = 1
Public Const wdLetterLeft = 2
Public Const wdLetterRight = 3
Public Const wdSalutationInformal = 0
Public Const wdSalutationFormal = 1
Public Const wdSalutationBusiness = 2
Public Const wdSalutationOther = 3
Public Const wdGenderFemale = 0
Public Const wdGenderMale = 1
Public Const wdGenderNeutral = 2
Public Const wdGenderUnknown = 3
Public Const wdMove = 0
Public Const wdExtend = 1
Public Const wdUn = 9999999
Public Const wdToggle = 9999998
Public Const wdForward = 1073741823
Public Const wdBackward = -1073741823
Public Const wdAutoPosition = 0
Public Const wdFirst = 1
Public Const wdCreatorCode = 1297307460
Public Const wdPasteOLEObject = 0
Public Const wdPasteRTF = 1
Public Const wdPasteText = 2
Public Const wdPasteMetafilePicture = 3
Public Const wdPasteBitmap = 4
Public Const wdPasteDeviceIndependentBitmap = 5
Public Const wdPasteHyperlink = 7
Public Const wdPasteShape = 8
Public Const wdPasteEnhancedMetafile = 9
Public Const wdPrintDocumentContent = 0
Public Const wdPrintProperties = 1
Public Const wdPrintComments = 2
Public Const wdPrintStyles = 3
Public Const wdPrintAutoTextEntries = 4
Public Const wdPrintKeyAssignments = 5
Public Const wdPrintEnvelope = 6
Public Const wdPrintAllPages = 0
Public Const wdPrintOddPagesOnly = 1
Public Const wdPrintEvenPagesOnly = 2
Public Const wdPrintAllDocument = 0
Public Const wdPrintSelection = 1
Public Const wdPrintCurrentPage = 2
Public Const wdPrintFromTo = 3
Public Const wdPrintRangeOfPages = 4
Public Const wdSpelling = 0
Public Const wdGrammar = 1
Public Const wdThesaurus = 2
Public Const wdHyphenation = 3
Public Const wdSpellingComplete = 4
Public Const wdSpellingCustom = 5
Public Const wdSpellingLegal = 6
Public Const wdSpellingMedical = 7
Public Const wdHangulHanjaConversion = 8
Public Const wdHangulHanjaConversionCustom = 9
Public Const wdSpellword = 0
Public Const wdWildcard = 1
Public Const wdAnagram = 2
Public Const wdSpellingCorrect = 0
Public Const wdSpellingNotInDictionary = 1
Public Const wdSpellingCapitalization = 2
Public Const wdSpellingError = 0
Public Const wdGrammaticalError = 1
Public Const wdInlineShapeEmbeddedOLEObject = 1
Public Const wdInlineShapeLinkedOLEObject = 2
Public Const wdInlineShapePicture = 3
Public Const wdInlineShapeLinkedPicture = 4
Public Const wdInlineShapeOLEControlObject = 5
Public Const wdTiled = 0
Public Const wdIcons = 1
Public Const wdSelStartActive = 1
Public Const wdSelAtEOL = 2
Public Const wdSelOvertype = 4
Public Const wdSelActive = 8
Public Const wdSelReplace = 16
Public Const wdAutoVersionOff = 0
Public Const wdAutoVersionOnClose = 1
Public Const wdOrganizerObjectStyles = 0
Public Const wdOrganizerObjectAutoText = 1
Public Const wdOrganizerObjectCommandBars = 2
Public Const wdOrganizerObjectProjectItems = 3
Public Const wdMatchParagraphMark = 65551
Public Const wdMatchTabCharacter = 9
Public Const wdMatchCommentMark = 5
Public Const wdMatchAnyCharacter = 65599
Public Const wdMatchAnyDigit = 65567
Public Const wdMatchAnyLetter = 65583
Public Const wdMatchCaretCharacter = 11
Public Const wdMatchColumnBreak = 14
Public Const wdMatchEmDash = 8212
Public Const wdMatchEnDash = 8211
Public Const wdMatchEndnoteMark = 65555
Public Const wdMatchField = 19
Public Const wdMatchFootnoteMark = 65554
Public Const wdMatchGraphic = 1
Public Const wdMatchManualLineBreak = 65551
Public Const wdMatchManualPageBreak = 65564
Public Const wdMatchNonbreakingHyphen = 30
Public Const wdMatchNonbreakingSpace = 160
Public Const wdMatchOptionalHyphen = 31
Public Const wdMatchSectionBreak = 65580
Public Const wdMatchWhiteSpace = 65655
Public Const wdFindStop = 0
Public Const wdFindContinue = 1
Public Const wdFindAsk = 2
Public Const wdActiveEndAdjustedPageNumber = 1
Public Const wdActiveEndSectionNumber = 2
Public Const wdActiveEndPageNumber = 3
Public Const wdNumberOfPagesInDocument = 4
Public Const wdHorizontalPositionRelativeToPage = 5
Public Const wdVerticalPositionRelativeToPage = 6
'Public Const wdHorizontalPositionRelativeToTextBoundary =7
'Public Const wdVerticalPositionRelativeToTextBoundary =8
Public Const wdFirstCharacterColumnNumber = 9
Public Const wdFirstCharacterLineNumber = 10
Public Const wdFrameIsSelected = 11
Public Const wdWithInTable = 12
Public Const wdStartOfRangeRowNumber = 13
Public Const wdEndOfRangeRowNumber = 14
Public Const wdMaximumNumberOfRows = 15
Public Const wdStartOfRangeColumnNumber = 16
Public Const wdEndOfRangeColumnNumber = 17
Public Const wdMaximumNumberOfColumns = 18
Public Const wdZoomPercentage = 19
Public Const wdSelectionMode = 20
Public Const wdCapsLock = 21
Public Const wdNumLock = 22
Public Const wdOverType = 23
Public Const wdRevisionMarking = 24
Public Const wdInFootnoteEndnotePane = 25
Public Const wdInCommentPane = 26
Public Const wdInHeaderFooter = 28
Public Const wdAtEndOfRowMarker = 31
Public Const wdReferenceOfType = 32
Public Const wdHeaderFooterType = 33
Public Const wdInMasterDocument = 34
Public Const wdInFootnote = 35
Public Const wdInEndnote = 36
Public Const wdInWordMail = 37
Public Const wdInClipboard = 38
Public Const wdWrapSquare = 0
Public Const wdWrapTight = 1
Public Const wdWrapThrough = 2
Public Const wdWrapNone = 3
Public Const wdWrapTopBottom = 4
Public Const wdWrapBoth = 0
Public Const wdWrapLeft = 1
Public Const wdWrapRight = 2
Public Const wdWrapLargest = 3
Public Const wdOutlineLevel1 = 1
Public Const wdOutlineLevel2 = 2
Public Const wdOutlineLevel3 = 3
Public Const wdOutlineLevel4 = 4
Public Const wdOutlineLevel5 = 5
Public Const wdOutlineLevel6 = 6
Public Const wdOutlineLevel7 = 7
Public Const wdOutlineLevel8 = 8
Public Const wdOutlineLevel9 = 9
Public Const wdOutlineLevelBodyText = 10
Public Const wdTextOrientationHorizontal = 0
Public Const wdTextOrientationUpward = 2
Public Const wdTextOrientationDownward = 3
'Public Const wdTextOrientationVerticalFarEast =1
'Public Const wdTextOrientationHorizontalRotatedFarEast =4
Public Const wdArtApples = 1
Public Const wdArtMapleMuffins = 2
Public Const wdArtCakeSlice = 3
Public Const wdArtCandyCorn = 4
Public Const wdArtIceCreamCones = 5
Public Const wdArtChampagneBottle = 6
Public Const wdArtPartyGlass = 7
Public Const wdArtChristmasTree = 8
Public Const wdArtTrees = 9
Public Const wdArtPalmsColor = 10
Public Const wdArtBalloons3Colors = 11
Public Const wdArtBalloonsHotAir = 12
Public Const wdArtPartyFavor = 13
Public Const wdArtConfettiStreamers = 14
Public Const wdArtHearts = 15
Public Const wdArtHeartBalloon = 16
Public Const wdArtStars3D = 17
Public Const wdArtStarsShadowed = 18
Public Const wdArtStars = 19
Public Const wdArtSun = 20
Public Const wdArtEarth2 = 21
Public Const wdArtEarth1 = 22
Public Const wdArtPeopleHats = 23
Public Const wdArtSombrero = 24
Public Const wdArtPencils = 25
Public Const wdArtPackages = 26
Public Const wdArtClocks = 27
Public Const wdArtFirecrackers = 28
Public Const wdArtRings = 29
Public Const wdArtMapPins = 30
Public Const wdArtConfetti = 31
Public Const wdArtCreaturesButterfly = 32
Public Const wdArtCreaturesLadyBug = 33
Public Const wdArtCreaturesFish = 34
Public Const wdArtBirdsFlight = 35
Public Const wdArtScaredCat = 36
Public Const wdArtBats = 37
Public Const wdArtFlowersRoses = 38
Public Const wdArtFlowersRedRose = 39
Public Const wdArtPoinsettias = 40
Public Const wdArtHolly = 41
Public Const wdArtFlowersTiny = 42
Public Const wdArtFlowersPansy = 43
Public Const wdArtFlowersModern2 = 44
Public Const wdArtFlowersModern1 = 45
Public Const wdArtWhiteFlowers = 46
Public Const wdArtVine = 47
Public Const wdArtFlowersDaisies = 48
Public Const wdArtFlowersBlockPrint = 49
Public Const wdArtDecoArchColor = 50
Public Const wdArtFans = 51
Public Const wdArtFilm = 52
Public Const wdArtLightning1 = 53
Public Const wdArtCompass = 54
Public Const wdArtDoubleD = 55
Public Const wdArtClassicalWave = 56
Public Const wdArtShadowedSquares = 57
Public Const wdArtTwistedLines1 = 58
Public Const wdArtWaveline = 59
Public Const wdArtQuadrants = 60
Public Const wdArtCheckedBarColor = 61
Public Const wdArtSwirligig = 62
Public Const wdArtPushPinNote1 = 63
Public Const wdArtPushPinNote2 = 64
Public Const wdArtPumpkin1 = 65
Public Const wdArtEggsBlack = 66
Public Const wdArtCup = 67
Public Const wdArtHeartGray = 68
Public Const wdArtGingerbreadMan = 69
Public Const wdArtBabyPacifier = 70
Public Const wdArtBabyRattle = 71
Public Const wdArtCabins = 72
Public Const wdArtHouseFunky = 73
Public Const wdArtStarsBlack = 74
Public Const wdArtSnowflakes = 75
Public Const wdArtSnowflakeFancy = 76
Public Const wdArtSkyrocket = 77
Public Const wdArtSeattle = 78
Public Const wdArtMusicNotes = 79
Public Const wdArtPalmsBlack = 80
Public Const wdArtMapleLeaf = 81
Public Const wdArtPaperClips = 82
Public Const wdArtShorebirdTracks = 83
Public Const wdArtPeople = 84
Public Const wdArtPeopleWaving = 85
Public Const wdArtEclipsingSquares2 = 86
Public Const wdArtHypnotic = 87
Public Const wdArtDiamondsGray = 88
Public Const wdArtDecoArch = 89
Public Const wdArtDecoBlocks = 90
Public Const wdArtCirclesLines = 91
Public Const wdArtPapyrus = 92
Public Const wdArtWoodwork = 93
Public Const wdArtWeavingBraid = 94
Public Const wdArtWeavingRibbon = 95
Public Const wdArtWeavingAngles = 96
Public Const wdArtArchedScallops = 97
Public Const wdArtSafari = 98
Public Const wdArtCelticKnotwork = 99
Public Const wdArtCrazyMaze = 100
Public Const wdArtEclipsingSquares1 = 101
Public Const wdArtBirds = 102
Public Const wdArtFlowersTeacup = 103
Public Const wdArtNorthwest = 104
Public Const wdArtSouthwest = 105
Public Const wdArtTribal6 = 106
Public Const wdArtTribal4 = 107
Public Const wdArtTribal3 = 108
Public Const wdArtTribal2 = 109
Public Const wdArtTribal5 = 110
Public Const wdArtXIllusions = 111
Public Const wdArtZanyTriangles = 112
Public Const wdArtPyramids = 113
Public Const wdArtPyramidsAbove = 114
Public Const wdArtConfettiGrays = 115
Public Const wdArtConfettiOutline = 116
Public Const wdArtConfettiWhite = 117
Public Const wdArtMosaic = 118
Public Const wdArtLightning2 = 119
Public Const wdArtHeebieJeebies = 120
Public Const wdArtLightBulb = 121
Public Const wdArtGradient = 122
Public Const wdArtTriangleParty = 123
Public Const wdArtTwistedLines2 = 124
Public Const wdArtMoons = 125
Public Const wdArtOvals = 126
Public Const wdArtDoubleDiamonds = 127
Public Const wdArtChainLink = 128
Public Const wdArtTriangles = 129
Public Const wdArtTribal1 = 130
Public Const wdArtMarqueeToothed = 131
Public Const wdArtSharksTeeth = 132
Public Const wdArtSawtooth = 133
Public Const wdArtSawtoothGray = 134
Public Const wdArtPostageStamp = 135
Public Const wdArtWeavingStrips = 136
Public Const wdArtZigZag = 137
Public Const wdArtCrossStitch = 138
Public Const wdArtGems = 139
Public Const wdArtCirclesRectangles = 140
Public Const wdArtCornerTriangles = 141
Public Const wdArtCreaturesInsects = 142
Public Const wdArtZigZagStitch = 143
Public Const wdArtCheckered = 144
Public Const wdArtCheckedBarBlack = 145
Public Const wdArtMarquee = 146
Public Const wdArtBasicWhiteDots = 147
Public Const wdArtBasicWideMidline = 148
Public Const wdArtBasicWideOutline = 149
Public Const wdArtBasicWideInline = 150
Public Const wdArtBasicThinLines = 151
Public Const wdArtBasicWhiteDashes = 152
Public Const wdArtBasicWhiteSquares = 153
Public Const wdArtBasicBlackSquares = 154
Public Const wdArtBasicBlackDashes = 155
Public Const wdArtBasicBlackDots = 156
Public Const wdArtStarsTop = 157
Public Const wdArtCertificateBanner = 158
Public Const wdArtHandmade1 = 159
Public Const wdArtHandmade2 = 160
Public Const wdArtTornPaper = 161
Public Const wdArtTornPaperBlack = 162
Public Const wdArtCouponCutoutDashes = 163
Public Const wdArtCouponCutoutDots = 164
Public Const wdBorderDistanceFromText = 0
Public Const wdBorderDistanceFromPageEdge = 1
Public Const wdOrientPortrait = 0
Public Const wdOrientLandscape = 1
Public Const wdReplaceNone = 0
Public Const wdReplaceOne = 1
Public Const wdReplaceAll = 2
Public Const wdFontBiasDontCare = 255
Public Const wdFontBiasDefault = 0
Public Const wdFontBiasFareast = 1
'* WdGoToItem
Public Const wdGoToBookmark = -1
Public Const wdGoToSection = 0
Public Const wdGoToPage = 1
Public Const wdGoToTable = 2
Public Const wdGoToLine = 3
Public Const wdGoToFootnote = 4
Public Const wdGoToEndnote = 5
Public Const wdGoToComment = 6
Public Const wdGoToField = 7
Public Const wdGoToGraphic = 8
Public Const wdGoToObject = 9
Public Const wdGoToEquation = 10
Public Const wdGoToHeading = 11
Public Const wdGoToPercent = 12
Public Const wdGoToSpellingError = 13
Public Const wdGoToGrammaticalError = 14
Public Const wdGoToProofreadingError = 15
'* WdGoToDirection
Public Const wdGoToFirst = 1
Public Const wdGoToLast = -1
Public Const wdGoToNext = 2
Public Const wdGoToRelative = 2
Public Const wdGoToPrevious = 3
Public Const wdGoToAbsolute = 1
'* Soulignement
Public Const wdUnderlineDash = 7
Public Const wdUnderlineDotDash = 9
Public Const wdUnderlineDotDotDash = 10
Public Const wdUnderlineDotted = 4
Public Const wdUnderlineDouble = 3
Public Const wdUnderlineNone = 0
Public Const wdUnderlineSingle = 1
Public Const wdUnderlineThick = 6
Public Const wdUnderlineWavy = 11
Public Const wdUnderlineWords = 2
'* Lignes
Public Const wdLineBreak = 6
Public Const wdLineSpace1pt5 = 1
Public Const wdLineSpaceAtLeast = 3
Public Const wdLineSpaceDouble = 2
Public Const wdLineSpaceExactly = 4
Public Const wdLineSpaceMultiple = 5
Public Const wdLineSpaceSingle = 0
Public Const wdLineStyleDashDot = 5
Public Const wdLineStyleDashDotDot = 6
Public Const wdLineStyleDashDotStroked = 20
Public Const wdLineStyleDashLargeGap = 4
Public Const wdLineStyleDashSmallGap = 3
Public Const wdLineStyleDot = 2
Public Const wdLineStyleDouble = 7
Public Const wdLineStyleDoubleWavy = 19
Public Const wdLineStyleEmboss3D = 21
Public Const wdLineStyleEngrave3D = 22
Public Const wdLineStyleNone = 0
Public Const wdLineStyleSingle = 1
Public Const wdLineStyleSingleWavy = 18
Public Const wdLineStyleThickThinLargeGap = 16
Public Const wdLineStyleThickThinMedGap = 13
Public Const wdLineStyleThickThinSmallGap = 10
Public Const wdLineStyleThinThickLargeGap = 15
Public Const wdLineStyleThinThickMedGap = 12
Public Const wdLineStyleThinThickSmallGap = 9
Public Const wdLineStyleThinThickThinLargeGap = 17
Public Const wdLineStyleThinThickThinMedGap = 14
Public Const wdLineStyleThinThickThinSmallGap = 11
Public Const wdLineStyleTriple = 8
Public Const wdLineWidth025pt = 2
Public Const wdLineWidth050pt = 4
Public Const wdLineWidth075pt = 6
Public Const wdLineWidth100pt = 8
Public Const wdLineWidth150pt = 12
Public Const wdLineWidth225pt = 18
Public Const wdLineWidth300pt = 24
Public Const wdLineWidth450pt = 36
Public Const wdLineWidth600pt = 48
Public Const wdLineWrapLikeWord6 = 32
'* ColorIndex
Public Const wdAuto = 0
Public Const wdBack = 1
Public Const wdBlue = 2
Public Const wdTurquoise = 3
Public Const wdBrightGreen = 4
Public Const wdPink = 5
Public Const wdRed = 6
Public Const wdYellow = 7
Public Const wdWhite = 8
Public Const wdDarkBlue = 9
Public Const wdTeal = 10
Public Const wdGreen = 11
Public Const wsViolet = 12
Public Const wdDarkRed = 13
Public Const wdDarkYellow = 14
Public Const wdGray50 = 15
Public Const wdGray25 = 16