Hi! The codes in posts 11 & 15 select the sentence, which can be copied. Besides, the code in post 15 adds the sentence to a variable. And again your terminology needs clarification: what does "retrieve" mean? If you need to find all sentences with the key wd in the selected range, you can modify the code to highlight the sentences for further work with the highlights. Also, the code can be modified to select each found sentence one-by-one with a msgbox asking whether you want to procede, but note that if a code selects sth & pauses (not ends!) showing a msgbox, it doesn't mean you can work with the selection because the access to the text/screen will be denied.
|