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
Take a look at the following Knowledge Base Article
"How to Work Around Duplicate Names in Mail Merge Data" at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;302665

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Can anyone tell me if there is a repeat until loop function in MS word.
>
[quoted text clipped - 12 lines]
> Ps. If its better to do it in VB then any help would be great as im a
> bit new to it all