Deleting to the end of the document

L

LA Lawyer

I want to use VBA to delete everything following my present position in the
document to the very end.

How is that done?
 
J

Jonathan West

LA Lawyer said:
I want to use VBA to delete everything following my present position in the
document to the very end.

How is that done?

Selection.MoveEnd Unit:=wdStory, Count:=1
Selection.Delete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top