使用Excel数据库的Word

我有一个类似的电子表格。 我将数据库插入单词并使用列

ID Name Attachment email id1 firstname test1.pdf test@test.com id1 firstname test1.pdf test@test.com id1 firstname test1.pdf test@test.com id2 firstname test2.pdf test2@test.com 

当我发送电子邮件的话,我想合并相同的ID附件到一个电子邮件 ,而不是发送3封电子邮件。

有没有什么办法可以做到这一点。 我使用邮件合并word插件。