View Single Post
 
Old 01-27-2024, 07:55 AM
ctviggen ctviggen is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Feb 2021
Posts: 54
ctviggen is on a distinguished road
Default

So, if I enable "Set aRng = openDoc.Range" and disable "Set aRng = openDoc.Application.Selection.Range", the modified material goes into the open document (openDoc), instead of into the new document (newDoc), but at the end of the open document.



I just want that insertion point to either go where the cursor currently is in the open document or at the end of the selected text that is being modified from the open document.


I thought "Set aRng = openDoc.Application.Selection.Range" and "aRng.Collapse Direction:=wdCollapseEnd" would do that, but these do not.
Reply With Quote