View Single Post
 
Old 09-27-2022, 05:52 AM
Stephen Ray Stephen Ray is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Sep 2018
Location: Kansas
Posts: 34
Stephen Ray is on a distinguished road
Default

Macropod, Thank you for your reply. I will try your code.
And I see now that I was inserting stuff after the defined range.
I will go experiment with all this until I get the results I want.

But I have a question, If the text is this:
XXXX action taken by XXX personnel.
Active Directory Record already enabled. No Action Taken by XXX Personnel.
User has been updated in the Remedy System
Start Date & Time 9/22/2022 10:36:45 AM

And with the code: Set oRng = ActiveDocument.Paragraphs.Last.Range

The contents of oRng = Start Date & Time 9/22/2022 10:36:45 AM

Is that right?
Reply With Quote