View Single Post
 
Old 06-15-2020, 06:07 PM
ArtKilp ArtKilp is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2016
Posts: 18
ArtKilp is on a distinguished road
Default How to select the end of a document?

I have a Word document (.docx), that has "absolutely nothing else" than one contentcontrol. I want to type text after that control. How do I do that? I think I need to move the cursor there, but with what I have tried, for example
Code:
Selection.EndKey Unit:=wdStory
that gets me inside of that contentcontrol i.e. I'm obviously not at the end.
Reply With Quote