GoBack Method

Applies To

Application object.

Description

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. An expression that returns an Application object.

See Also

GoForward method, GoTo method, Target property.

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