#1
|
|||
|
|||
Mail Merger
Hello, everyone!
I've been working on replicating the tutorial located at https://www.msofficeforums.com/mail-...-tutorial.html to automate a mail merge process. I've run into some issues during my attempts. Specifically, I've encountered the following error messages: "No value given for one or more required parameters" and "Word was unable to open the data source. A field calculation error occurred in record 1." For my practice, I've been using files named State_City.xlsx and Test_dir.docx. Let me provide some background information about my project. I have an Excel sheet with multiple rows, where the primary column is labeled "Document Name." Additionally, there are columns labeled ABCDE, each containing different values. In some cases, for the same "Document Name," there may be varying values in the ABCDE cells. To replicate my data, I've used a file called 01_Test_Excel.xls. My objective is to generate a mail merge document for each unique "Document Name." Each document should contain a table with headers for the ABCDE cells, and all rows with the same "Document Name" should be consolidated into one document. Each document with a unique "Document Name" should then be saved separately. While attempting this process, I followed the tutorial mentioned earlier, but I consistently encountered errors during the mail merge execution, as previously mentioned. I'm reaching out to request assistance from anyone who may be able to help me create a mail merge document for the scenario I've described. Your guidance and expertise would be greatly appreciated! Thanks and looking forward for replies |
#2
|
||||
|
||||
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
Hello GMayor,
I would like to express my gratitude for your prompt response to my inquiry and for the valuable suggestions you've provided. I have carefully reviewed the recommendations mentioned in your previous message, which appear to center around the use of a specific add-on to achieve the desired task. Unfortunately, I am not permitted to download and utilize this particular add-on for my application. Therefore, I am in search of a VBA macro code solution for my task. I would greatly appreciate any guidance or suggestions you can offer in this regard. |
Tags |
ocument |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mail merger when client has multiple entries on data sheet | awdl22125 | Mail Merge | 2 | 06-21-2022 04:50 PM |
Trouble using coding for Macro to join tables from directory merger | roadwarrior99 | Mail Merge | 1 | 07-24-2021 08:19 PM |
Restrict Editing in mail merger | swap2688 | Mail Merge | 0 | 07-02-2020 07:22 AM |
Mail merger with different template/main body text | RPM7 | Mail Merge | 1 | 04-27-2010 07:20 AM |
Error: general mail failure. Quit excel restart mail system | MitchellDM | Outlook | 1 | 12-19-2008 02:05 AM |