bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Files > Picking Up in the Last Document Edited

Picking Up in the Last Document Edited

Summary: If you work on the same document over and over again, you’ll like the very quick macro in this tip. It loads the last used file and jumps to the location in the document where you last made an edit. Also includes a version of the macro that jumps to the end of the last-used document. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

As covered in other issues of WordTips, you can jump to the last place that you edited in a document by pressing the Shift+F5 key. In other words, open the document, press the shortcut, and the insertion point jumps directly to the last edit point in the document.

If you work on the same document quite often, you may like a little macro that opens that last file you worked on, and then automatically jumps to the last edit location in that document.

Sub OpenLastDoc1()
    RecentFiles(1).Open
    Application.GoBack
End Sub

Assign the macro to a shortcut or a toolbar button, and you've got a fast way to continue working wherever you were in your last session with Word. If you prefer, you can make one change to the macro that jumps to the end of the document, rather than to the last place you edited:

Sub OpenLastDoc2()
    RecentFiles(1).Open
    Selection.EndKey Unit:=wdStory
End Sub

Tip #106 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003


Great Idea! Uncover the many ways you can master the full potential of printing your documents. WordTips: Printing and Printers can help you get the most from both the printed page and your printer.

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)