View Single Post
 
Old 05-23-2018, 01:27 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The last line of your sub is moving the cursor to the end of the document so although you moved the cursor just before that, it sat there for only a millisecond before you asked it to move somewhere else.
Try deleting the Selection.endKey Unit:=wdStory line
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote