Thread
:
Selecting Text within a document with known start/stop (+searching and tools)
View Single Post
04-17-2023, 06:37 AM
gmaxey
Windows 10
Office 2019
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
Not tested, but you might try:
Code:
On Error Resume Next Do Err.Clear oDoc.Content.Paste Loop While Err.Number <> 0 On Error GoTo 0
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey