CJS/10/1023 - is this a document filename? is that what you mean by
"identifiers"? Not quite following.
As for searching the text content of a Word document, there are a number of
options. Once the document is open:
Dim r As Range
Set r = ActiveDocument.Range
With r.Find
.ClearFormatting
Do While .Execute(FindText:="CJS", Forward:=True) = True
r.MoveEnd Unit:=wdcharacter, Count:= 8
' do whatever
r.Collapse Direction:=wdCollapseEnd
Loop
End With
This would start at the start of the document, find "CJS", expand the range 8
characters to the right
eg. find "CJS", then make it CJS + 8 more = "CJS/10/1023"
do whatever you want to do with that instance
collapse to the end of "CJS/10/1023", and then go on to the next "CJS".
Other than that, you will need to ask more specific questions.
>Hi All
>
[quoted text clipped - 22 lines]
>Thanks for any ideas.
>Chrisso
fumei - 28 Nov 2007 19:24 GMT
By the way, please do not double post. Thanks.