Results 1 to 1 of 1
2016-02-12, 09:09 #1
- Join Date
- Feb 2014
- Thanked 0 Times in 0 Posts
Deleting Text from Multiple Bookmarks
This is for EXCEL to WORD.
I am trying to deletetext from multiple Bookmarks to the ends of the paragraphs and/or sentences.
Have experimented with numerous versions of the below, as itis it deletes everything after and including the Bookmark to the end of thedocument which is not what I want.
Leading on from that, I want to repeat the process for otherBookmarks within the document.
Set wdRng = wdDoc.Bookmarks("First_insert").Range With wdDoc.Range(Start:=wdDoc.Bookmarks("First_insert").Range.End) wdDoc.Range(Start:=.Paragraphs(1).Range.Start, End:=.End) .Delete End With End Sub