View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Bruce[_3_] Bruce[_3_] is offline
external usenet poster
 
Posts: 4
Default Using a VBA function in my Word Mail Merge document

Thanks for that, both of you - plenty to work with. I went to Word VBA
because I couldn't get NextIf to work. Is there a PrevIf? If I use NextIf
like { NextIf CurrentMergeField NextMergeField *do stuff* }, should that
work? Or have I got NextIf wrong? That is, can I compare a current record
field against the next record field? If not, how do I check if the next
record needs a new letter, or can just be displayed on this page?

url:http://www.ureader.com/msg/10107949.aspx