View Single Post
 
Old 06-22-2019, 07:55 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,143
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

What is the aim of this location? The easiest way to set a location and return to it is to use a pair of macros. One to set a bookmark, the other to select that bookmarked location e.g.

Code:
Sub BMStart()
Selection.Bookmarks.Add ("bmStart")
End Sub

Sub GetStart()
Dim oBM As Bookmark
    For Each oBM In ActiveDocument.Bookmarks
        If oBM.Name = "bmStart" Then
            oBM.Select
            Exit For
        End If
    Next oBM
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote