Febuary 1998

Return to Article Index

wdXXX-constants for Winword/VBA
VBA code snippets by Horshack


Only a few constants until now, I think this will be growing. Find your own constants while being in Winword97:

Extras - Macro - Visual Basic Editor - Ctrl-g (direct window)

After that type your unknown constants like

? wdCharacter

 

If you like take these for your project beginning:

Const wdCharacter = 1
Const wdExtent = 1
Const wdExtend = 1
Const wdGoToBookmark = -1
Const wdLine = 5
Const wdCell = 12
Const wdTableFormatSimple2 = 2
Const wdAlignParagraphRight = 2
Const wdYellow = 7
Const wdToggle = 9999998
Const wdAlignParagraphCenter = 1


Copyright 1995-1998 VB Online. All rights reserved.