Thread
:
Formatting specific paragraphs with styles without using Selection
View Single Post
11-09-2023, 08:42 AM
gmaxey
Windows 10
Office 2019
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,601
Yes, that is how you would do it. You got the error because you never set the oRng object to a document range.
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey