Thread
: [Solved]
How to select the end of a document?
View Single Post
06-15-2020, 06:17 PM
gmaxey
Windows 10
Office 2016
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,429
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oRng As Range
Set oRng = ActiveDocument.Range
oRng.Collapse wdCollapseEnd
lbl_Exit:
Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey