How do I find where I stopped editing a document?

S

Shortcut Jane

In Word 2003, I could use Shift F5 when I opened a document to find where I
left off editing it the last time I opened it. This doesn't seem to work in
Word 2007, at least not consistently. Is there some other menu item or
keyboard shortcut I can use, or are there some circumstances under which
Shift F5 will work?
 
S

Suzanne S. Barnhill

Unfortunately, it doesn't work in XML (*.docx) documents, only those saved
in Word 97-2003 format.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
G

Graham Mayor

With a handful of macros stored in the normal template documents wilol
always open with the cursor at the place it occupied when the document was
last saved.. These intercept the save and saveas routines to insert a
bookmark at the cursor position and locate the cursor at that bookmark (if
present) when the document is next opened. If you already have macros with
these names, incorporate the code in those macros.

Sub FileSave()
On Error Resume Next
ActiveDocument.Bookmarks.Add Range:=Selection.Range, name:="OpenAt"
ActiveDocument.Save
End Sub

Sub FileSaveAs()
On Error Resume Next
ActiveDocument.Bookmarks.Add Range:=Selection.Range, name:="OpenAt"
Dialogs(wdDialogFileSaveAs).Show
End Sub

Sub AutoOpen()
If ActiveDocument.Bookmarks.Exists("OpenAt") = True Then
ActiveDocument.Bookmarks("OpenAt").Select
End If
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top