Word VBA, Move Cursor to Start of Document

Using the code snippet below you can move the cursor to the start of the document:

Selection.HomeKey Unit:=wdStory

Assume the cursor is somewhere in the middle of page 3:

Word VBA Move Cursor
Result after using the code above:

Word VBA, Result

See also:

If you need assistance with your code, or you are looking for a VBA programmer to hire feel free to contact me. Also please visit my website  www.software-solutions-online.com

Leave a Reply

Your email address will not be published.