Forum Discussion
Opening Word in last view mode
You can make use of some auto macros that adds a bookmark at the edit location when you save your document. When you re-open a document, an auto macro will select the content of that bookmark. Macros have been created by MVP Graham Mayor.
Add the following sub routines to your Normal template (if you already have sub routines with those names, add the code to them instead):
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
For instructions, see https://www.gmayor.com/installing_macro.htm.
- scriptpreneurDec 07, 2022Copper Contributor
To make this more searchable for others, the phrase often used is "pick up where you left off."
I remember doing something with Macros many years ago to ensure I could always return to the last place I was in a file. It's 100% MANDATORY for an editor to be able to return to the last place edited.
I'm on Mac, so nothing I'm seeing here or in links matches up. Somehow I miraculously found a way to make DEVELOPER appear in my "ribbon" but I don't see anything like what is described.
No "create" button. For non-techies, this is ultra advanced. I just want to open my files where I last edited. Any tips for a poor, dumb editor who just wants to use Word in a logical way?
- Stefan_BlomDec 09, 2022MVP
If you want to try the macros, you can do the following: Click the Visual Basic button on the Developer tab to display the Visual Basic Editor. You should be able to paste in the code from my previous reply into a module in the Normal project (= the Normal template). Sorry, I do not have a Mac so I can't provide specific instructions. I also do not know if the macros work flawlessly in Word for Mac.
- scriptpreneurDec 15, 2022Copper Contributor
Whoa!
Things in Mac look different from your image, but I just copy/pasted your code, & so far it looks like that is the magic formula, even for Macs!!!!!!
THANK YOU!