Repeat until loop?

L

lee wills

Can anyone tell me if there is a repeat until loop function in MS word.

I'm referencing an Excel database and I've got this at the moment.

{NEXTIF{MERGEFIELD idnum}<>"00005"}

Which does check and go on to the next record but I'd LIke it to repeat
until it finds the record containing 00005.

Any Ideas on this or a better way to reference the data would help
alot.

Thanks

Ps. If its better to do it in VB then any help would be great as im a
bit new to it all
 
Top