Make Word remember your last editing position

Microsoft Word should have ages ago an option like “Remember last editing position when Word opens”, “Remember last cursor position when Word opens”, etc, i.e. an option that would let us immediately continue editing a document from the page and line we were when we closed this document. I’m surprised, because this is a standard function in Excel.

I solved this problem for myself by creating two simple macros. The first one writes some standard text when I close a document, and the second one searches for this text when I open a document. You can open the macro editor (through the Developer menu) and paste there these macros. If you don’t see a “Developer” menu, you can add it at Word Options > Popular, selecting the option “Add the Developer tab in the ribbon.”

The macros are named AutoOpen and AutoClose because we want them to run automatically when Word opens and closes. You need to allow the automatic running of macros in Word. This security configuration can be made in Word’s Trust Center.

Sub AutoOpen()
' GoToMyBookmarkText
On Error Resume Next

With Selection.Find
.Text = "**************"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
ActiveWindow.SmallScroll Up:=15

End Sub
Sub AutoClose()
' CreateMyBookmark
Selection.TypeText Text:="**************"

End Sub

contact the Editor of TheFreeWindows   Get The Power
don't miss   : :   Sleeper   Favorite Launcher   Savy   Gadgetarian
Gadgibility   Power Copy   Windows Rule   SearchALL Gadget   Amazon Gadget

1 Response

  1. Deb Codding says:

    Thank you so much. This was so helpful. Just FYI, needed to add:

    .Execute Replace:=wdReplaceOne

    before the macro would replace the placerholder text added at AutoClose