GoBack

Syntax

GoBack

Remarks

Moves the insertion point among the last four locations where editing occurred (the same as pressing SHIFT+F5).

Example

An AutoExec macro such as the following runs each time you start Word. If there is at least one document listed at the bottom of the File menu, this macro opens the document and moves the insertion point to the most recent editing location.


Sub MAIN
If FileName$(1) <> "" Then
    FileList 1
    GoBack
End If
End Sub

See Also

EditGoTo