Hi Timothy,
You can use the following to delete that range:
Dim oRng As Range
With Selection
.HomeKey unit:=wdStory
With .Find
.ClearFormatting
.Text = "EndText"
.Execute
Set oRng = ActiveDocument.Range _
(Start:=ActiveDocument.Range.Start, _
End:=Selection.Range.End)
End With
End With
oRng.delete
HTH
Quote:
> I'm sure this is a no-brainer for most:
> I am trying to select (and delete) a variable length string of text
> downloaded from a web database. The range always begins at the start of
the
> document and ends after a constant and unique phrase (e.g. "EndText").
> How do I select the range between the starting and ending points?
> Thanks in advance!