Tag Archives: Move Cursor

No Thumbnail

Word VBA, Move Cursor to End of Line

Using the code snippet below you can move the cursor to the end of the Line: Selection.EndKey Unit:=wdLine Assume the cursor is somewhere in the middle of a line: Result after using the code above:   See also: Word VBA, Move Cursor to Start of Document Word

No Thumbnail

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: Result after using the code above: See also: Word VBA, Move Cursor to Start of Document Word VBA,

No Thumbnail

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: Result after using the code above: See also: Word VBA, Move Cursor to End of Document Word

No Thumbnail

Word VBA, Move Cursor to Start of Line

Using the code snippet below you can move the cursor to the start of the Line: Selection.HomeKey Unit:=wdLine Assume the cursor is somewhere in the middle of a line: Result after using the code above:   See also: Word VBA, Move Cursor to Start of Document