Merge Codes show in Word doc for unused labels

I'm trying to crank out mailing labels using ASPOSE.Word. I have a mail merge document set up with name and address info in each cell.

For example my word doc has 15 labels on it (3 across by 5 rows down) and each label looks like this:

<> <>

<>

However, if I only have 2 records in my dataset the 13 other labels on the page still show the merge codes.

Do I need an upgrade version of the product or have I created my merge doc in Word incorrectly?

Thanks,
Jason

You can use MailMerge.DeleteFields() to clean up unused fields after MailMerge execution.

Best regards,

Perfect! Thanks a lot!