MSWord automation

Can anyone tell me how to do the following in CSide? (1) >>>>>How to get the current position of the cursor<<<<< The Selection object’s information property can tell you this. Here’s an example: VertPos := Word.Selection.Information [wdVerticalPositionRelativeToPage]; HorizPos := Word.Selection.Information[wdHorizontalPositionRelativeToPage]; (2) This code will tell you the vertical position of the selection - which is the cursor (insertion point) if no text is selected. The answer will be in twips, or 1/1440ths of an inch. To get the line number the cursor is on, you’d use Word.Selection.Information[wdFirstCharacterLineNumber];