View Single Post
  #2   Report Post  
Doug Robbins - Word MVP
 
Posts: n/a
Default Repeat until loop?

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...b;en-us;302665


--
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

"lee wills" wrote in message
.. .

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


--
lee wills