Select text between two search points - Word VBA

W

wwcoop

What code could one use to accomplish this goal:

1. Search for a starting location in a document i.e. text "abc" then
2. Search for an ending location in the document i.e. text "xyz" then
3. Select all the text between these two locations

(I need to do this to bookmark the section.)

More generally, please describe how to dynamically select
sections of a document use VBA coding as described.

Thanks,
 
Top