View Single Post
 
Old 10-14-2023, 10:16 PM
zpy2 zpy2 is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2023
Location: China
Posts: 28
zpy2 is on a distinguished road
Default

Quote:
Originally Posted by MikeVerDuin View Post
I've searched the forums and haven't found exactly what I'm looking for. I'm running a bulk mailing, and I want to print each tray on its own. The tray number is stored in the 'cont_id' field. It might be 4 trays, it might be 60 trays. Normally I select "edit individual documents' and then put in the a starting and ending number for each 'tray'. but that is prone to human error and can take a long time if there are 60 trays.

Is there a way to run a mail merge that splits into individual files based on a field changing?

I tried the "Merge_by_Group" code and it produces the right number of documents, but it's only the first record of each 'group'. A tray might have 1 piece in it, or 2000+. I've attached a sample excel file. In my ideal scenario, it would produce 3 merge documents, 1 for 'cont_id' = 1, 1 for 'cont_id' =2, and 1 for 'cont_id' =3.

I hope this make sense.
would produce 3 merge documents, 1 for 'cont_id' = 1, 1 for 'cont_id' =2, and 1 for 'cont_id' =3.

Each document has multiple rows with same cont_id named as 1.docx,2.docx... like this https://b23.tv/TznKgL7?
Attached Files
File Type: zip mail_merge.zip (41.8 KB, 6 views)
Reply With Quote