PDA

View Full Version : Solved: Select Data between Bookmarks



markh1182
08-24-2007, 02:37 AM
Hi,

Is it possible to select the data between two bookmarks in a document?

I know that this code goes to each of the bookmarks, but not sure how to highlight everything in between:

Selection.GoTo What:=wdGoToBookmark, Name:="CVStart"
Selection.GoTo What:=wdGoToBookmark, Name:="CVEnd"

Thanks, Mark

markh1182
08-24-2007, 06:05 AM
no longer required.

fumei
08-24-2007, 11:29 AM
If you solved it yourself, tell what you did.

markh1182
08-28-2007, 06:54 AM
I actually changed the way I wanted this to work. I went from the first bookmark and selected to the end of the document and deleted what I wanted, recreating what I needed afterwards.