Application.GoBack Method

Word Developer Reference

Moves the insertion point among the last three locations where editing occurred in the active document (the same as pressing SHIFT+F5).

Syntax

expression.GoBack

expression   Required. A variable that represents an Application object.

Example

This example opens the most recently used file and then moves the insertion point to the location where editing last occurred.

Visual Basic for Applications
  RecentFiles(1).Open
Application.GoBack

See Also