#DEFINE wdCharacter 1 #DEFINE wdWord 2 #DEFINE wdSentence 3 #DEFINE wdParagraph 4 #DEFINE wdLine 5 #DEFINE wdStory 6 #DEFINE wdScreen 7 #DEFINE wdSection 8 #DEFINE wdColumn 9 #DEFINE wdRow 10 #DEFINE wdWindow 11 #DEFINE wdCell 12 #DEFINE wdCharacterFormatting 13 #DEFINE wdParagraphFormatting 14 #DEFINE wdTable 15 #DEFINE wdItem 16Alternatively, if you just want all the constants (probably not a doos idea because there are a TON of them), you can go to Rick Strahl's web site and download his GetConstants program that automagically reads the type library and creates the .h file. It can be found at http://www.west-wind.com/webtools.asp
oWord.Selection.MoveUp( 5, 1 )