View Single Post
 
Old 05-30-2020, 02:43 AM
alex100 alex100 is offline Windows 7 64bit Office 2016
Advanced Beginner
 
Join Date: May 2020
Posts: 79
alex100 is on a distinguished road
Default

Wonderful, thanks Paul!

As for moving the cursor at the end of a range, I found a solution, although I believe there must be a simpler way to achieve this (like a single instruction). If so, I would love to find out about it! Until then, this is what I'll be using...

Code:
Dim pasted_content As range
Set pasted_content = Selection.range
pasted_content.Paste
With pasted_content
    .Select
    Selection.MoveRight Unit:=wdCharacter, Count:=1
End With
Alex
Reply With Quote