I have done a little bit with word before, the .Find
object is kind of tricky to work with especially because I do not do much Word automation, but I believe this should be working:
Dim fnd as Find
nextId = "RS.0569/14.00000"
Set fnd = ThisDocument.Range.Find
fnd.Text = "RS.0569/14.xxxxx"
Do
nextId = Val(Split(nextId, ".")(2)) + 1
nextId = "RS.0569/14.0000" & CStr(nextId) ' put the ID together
fnd.Replacement.Text = nextId ' replace it with an ID ( Start= 0 )
fnd.Wrap = wdFindContinue
fnd.Execute Replace:=wdReplaceOne ' only replace one word per loop
Loop Until fnd.Found = False
It was trial & error, mostly; I think the .Wrap
is what you need to allow it to continue.