GoBack Method

Microsoft Word Visual Basic

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

expression.GoBack

expression    Required. An expression that returns 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.

RecentFiles(1).Open
Application.GoBack