After your find, can't you just set your range to Selection.Range()?
Dan
>Good afternoon
>
>How do you find the position of a character in a Word document to set a range, as in: oRange.SetRange(lnStartPos, lnEndPos)
>
>This the scenario. We want to define a Range "begin" and "end" points by searching for a word or string in a Word document. We have already coded the Find stuff and we can find both the begining and end words.
>
>Ok. But now we need to know the integer value which is the character position in the document of the first character of the first word, and the last character of the second FOUND() word.
>
>Here's a snippet that better describes the problem. See the line with "???".
>
>
>oRange.Find.Text = "some string"
>llFound = oRange.Find.Execute()
>IF llFound
>
> lnStartPos = ??? <--- how do we get the character position?
>ENDIF
>
>* code similar to the above lines to find the string which denotes the end postion
>
>oRange.SetRange(lnStartPos, lnEndPos)
>
>
>Thanks for taking the time to answer.
>
>- Don Lowrey