Thread: Move cursor
View Single Post
 
Old 04-04-2024, 10:09 AM
vivka vivka is offline Windows 7 64bit Office 2016
Expert
 
Join Date: Jul 2023
Posts: 293
vivka is on a distinguished road
Default

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.
Reply With Quote