Application.GoBack method (Word)

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.

RecentFiles(1).Open 
Application.GoBack

See also

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.