> Dick,
>
> AFAIK, you can't get there from here. By using the recorder you are
> only finding whatever it is that you put in the find box there is no
> way that I know of to use keystrokes to define area between the found
> text and the IP.
Actually you can do this. Pressing the F8 key or double-clicking the "EXT"
panel in the status bar puts you into Extend mode, where movements of the
cursor occur as if you were holding Shift down. If you then do a Find, all
the text between the original cursor position and the found text is
selected. Pressing ESC returns you to normal mode.
Recording a macro while doing this, you find that pressing F8 is equivalent
to this command
Selection.Extend
while pressing ESC is this command
Selection.EscapeKey
If you want to use this in association with a find, then you would need to
do the Find on the Selection object, not a Range.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Greg Maxey - 30 Mar 2006 12:16 GMT
Thanks Jonathan.

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
>> Dick,
>>
[quoted text clipped - 20 lines]
> If you want to use this in association with a find, then you would
> need to do the Find on the Selection object, not a Range.
Cleave - 30 Mar 2006 15:47 GMT
Just what I was looking for! Thank you!
Dick
> Thanks Jonathan.
>
[quoted text clipped - 22 lines]
> > If you want to use this in association with a find, then you would
> > need to do the Find on the Selection object, not a Range.