You can go back to the last edit with the GoBack command. The keyboard
shortcuts (on my machine at least) for that are Shift+F5 or Alt+Ctrl+Z.
If you want it to happen automatically each time you open a doc, you can add
a short AutoOpen macro to your Normal template:
Sub AutoOpen()
Application.GoBack
End Sub
If you haven't used macros before:
In the menu, go to Tools > Macro > Macros..., type in AutoOpen as the new
macro's name, click on the Edit button.
Then edit that macro so it looks like the one above.
If you close Word, you may be asked if you want to save the changes to the
global template... Answer "Yes".
Regards,
Klaus
"Klaus Linke" wrote:
Klaus,
I tried your suggestions but neither worked. Someone also suggested using
the Bookmark feature. I might give that a try too. Thanks for offering to
help.
Appreciatively,
Curtis
Sub AutoClose()
If Not ActiveDocument.Saved Then
Application.GoBack
' The above line might take you back to the next-to-last revision,
' but I don't know how to go to the last revision safely in Word 2007...
' The hidden bookmarks from previous versions, \PrevSel1 \PrevSel2
' seem to no longer be accessible.
ActiveDocument.Bookmarks.Add _
Name:="GoBack", _
Range:=Selection.Range
End If
End Sub
Sub AutoOpen()
Dim myBookmark As Bookmark
Dim boolSaved As Boolean
boolSaved = ActiveDocument.Saved
For Each myBookmark In ActiveDocument.Bookmarks
If myBookmark.Name = "GoBack" Then
myBookmark.Select
' ActiveWindow.ScrollIntoView Selection.Range
myBookmark.Delete
Exit For
End If
Next myBookmark
ActiveDocument.Saved = boolSaved
End Sub
Klaus
Hi Curtis,
Using Word 2007 maybe? See my other reply on how you could automate that
bookmark idea.
In older versions it should work, as long as you save in *.doc format.
Other formats like RTF and HTML likely (haven't tried) won't store the
information about the place you last edited.
Or you might use some add-in that removes such metadata to avoid privacy
issues (... it might be unintentionally revealing to know which part, say,
of a contract was last edited, which I guess may be the reason why Microsoft
did away with saving that info in Wd2007).
Klaus