我需要帮助添加一个宏,我在网上找到了这个宏,它可以自动从邮件合并中生成PDF。当前宏接受邮件合并,并从邮件合并中自动生成单个PDF。' Export "singleDoc" as a PDF with the details provided in the PdfFolderPath and PdfFileName fields in' Mark the end of the Subroutine值A: 1234值B: 0值C: 2值
使用MS Word 2010,我想要一个Mailmerge与宏一起运行,将每个记录保存为一个单独的文件,在PDF格式中使用其中一个字段作为文件名。这将为我节省大量的时间。Letter As RangeDim FileNum As String
For i = 1 To ActiveDocument.Mail