How to create PDF files using mail merge
DenisCooper
Posted messages
19
Status
Member
-
Emilie -
Emilie -
Hello,
From an Excel table, I create a Word file of n pages containing n invoices. Then I split this file into n files that I save in PDF format. This second step is quite long. Is it possible for my mail merge to automatically create n files (if possible directly in PDF) giving them a name that I have predefined and placed in a column of the Excel file containing other information?
I found posts on the subject but they never matched my needs because they required going through Outlook. Some mention VBA macros; I know what they are, but I don't master them. Thank you.
Have a nice day.
From an Excel table, I create a Word file of n pages containing n invoices. Then I split this file into n files that I save in PDF format. This second step is quite long. Is it possible for my mail merge to automatically create n files (if possible directly in PDF) giving them a name that I have predefined and placed in a column of the Excel file containing other information?
I found posts on the subject but they never matched my needs because they required going through Outlook. Some mention VBA macros; I know what they are, but I don't master them. Thank you.
Have a nice day.
7 answers
I created a macro that does the job, namely merging directly to PDF files, using a field from the database as the file name. I put it here:
https://www.faqword.com/index.php/word/publipostage/1075-publipostage-directement-vers-fichiers-pdf
m@rina
--
At least half of the users ask a question and never come back. Sometimes I wonder why I keep answering...
https://www.faqword.com/index.php/word/publipostage/1075-publipostage-directement-vers-fichiers-pdf
m@rina
--
At least half of the users ask a question and never come back. Sometimes I wonder why I keep answering...
Hello m@rina, I was using this macro without any issues but in my new file I have a runtime error 5631. Can you tell me how to fix it? Is it because my letters are 2 pages long? I want to clarify that my mail merge works outside of the macro. Thank you in advance.