Hi, eduzs! If the visible part is the active doc, use the following code to move the cursor to the doc's start:
Code:
selection.HomeKey wdStory
If you mean a part of the doc shown on the screen, I doubt there's a way to move the cursor to the top of the screen.