Word VBA, Move Cursor to End of Document

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

Selection.EndKey Unit:=wdStory

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

Word VBA, Move Cursoor

Result after using the code above:

Word VBA, Move Cursor 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.