How to Auto Populate Word Document from Excel (with Quick Steps)

In the field of > all the first names and in the field of > all the last names will be iterated.

Step 8 – Repeat the Above Step as Many Times as You Need

auto populate word document from excel

Step 9 – Preview Results

auto populate word document from excel

auto populate word document from excel

Step 10 – Save the Word File

auto populate word document from excel

Download the Practice Files

Related Articles

Save Saved Removed 0 Abrar-ur-Rahman Niloy

Abrar-ur-Rahman Niloy, holding a B.Sc. in Naval Architecture and Marine Engineering, has contributed to Exceldemy for nearly 1.5 years. As a leader in Excel, VBA, and Content Development teams, he authored 114+ articles and assisted the Exceldemy forum. Presently, as a project writer, he prioritizes stepping out of his comfort zone, aiming for constant technical improvement. Niloy's interests encompass Excel & VBA, Pivot Table, Power Query, Python, Data Analysis, and Machine Learning libraries, showcasing his commitment to diverse. Read Full Bio

21 Comments

This was really helpful, thank you. Is there a way for you to add data to the spreadsheet which would then automatically update the recipients in word? For example, very time I add a new patient to the excel spreadsheet, I need to “select recipients > use an existing list” and choose the excel file again.

Reply

Abrar Niloy Jul 19, 2022 at 11:46 AM

Hello, SAF. I am glad it was helpful to you. As for your problem, you don’t need to reupload every time you enter new patient names in Excel. You can select “Edit Recipient List”> select the file name in the “Data Source” section and hit refresh. It will automatically update the recipients’ list up to the latest entry.

Nabil sellami Feb 7, 2023 at 2:05 PM

Thank you, this was the most enjoyed reading time for the day. Very well written and so detailed . You forgot the printing part, but while reading the comment section I found your answer.

Hello, Nabil sellami! Thanks for your appreciation. To get more enjoyable articles stay in touch with ExcelDemy. Regards
ExcelDemy

Hi Abrar, thank you so much for sharing this. Do you happen to know how I can save and print each pages? Thank you in advance!

Reply

Abrar Niloy Sep 15, 2022 at 11:41 AM

Hi Kheiy. Yes, there is an easy way to do that. Go to the Mailings tab on the word file and select Finish & Merge. Then select Print Documents from the drop-down. After that, you can find the option to print all pages or a particular range if you want.

Very helpful thanks.

First of all, I want to say thank you for this very helpful post, it really helped me alot
I was wondering if the result could be all on one page and when that page is full it could go to the next page and so on

Reply

Arin Islam Feb 20, 2023 at 10:55 AM

Hi FADYA,
Thanks for your appreciation.
When we auto-populate Word documents from Excel it automatically generates data in individual documents for each data.
However, you can go to the View tab and then click on Web Layout from the Views group to see all the values in a single layout.

Stuart McDonald Mar 19, 2023 at 10:39 AM

hello,
I wish to produce a mail merge that includes an excel spreadsheet chart that is unique for each customer e.g.include an invoice (spreadsheet) for each customer showing goods they purchase this month.
Mailmerge is simple to achieve but to get the data for the individual customers details from within the data that contains the customer name, address.
Appreciate any help that you can provide.
Stuart

Reply

Eshrak Kader Mar 21, 2023 at 9:36 PM

Thank you for your inquiry. Regrettably, Microsoft Word does not have the capability to perform a mail merge with Excel charts. Although there are third-party add-ins that claim to provide this functionality, we cannot vouch for their security, and therefore, we do not recommend their use. Perhaps, you may post this query on Microsoft Community, where experts can direct you to a trusted alternative. Regards,
ExcelDemy

HI, Thank you so much for making this tutorial, it is very useful. I want to make a document where I can generate a table with different information for each person (like the example above with IsaacNewton, AlbertEinstein, and MarieCurie) however when I change the results preview it changes every table to the same record (i.e. every table is IsaacNewton, then every one becomes AlbertEinstein etc. but I want them to all be their own person). Do you have any advice for how to change this? Thanks in advance.

Reply

Aniruddah Alam Apr 16, 2023 at 12:03 PM

Hello, Elena.
Thank you for your kind words. Now, what I can understand from your query is that when you navigate through the preview results, you can only see just one individual’s information rather than everyone’s information. If you exactly follow the steps outlined above, you should be able to see all of the persons’ information in the preview result. Hence, I encourage that you carefully follow the instructions outlined above and observe whether or not your problem is resolved. If your issue persists, you can upload your file to our Exceldemy Forum(https://exceldemy.com/forum/). We will do our best to find a solution.

Thank you, really helpful and easy to follow. Is there a way to save each sheet indivudually as a doc automatically?

Reply

Mehedi Hasan Shimul Jun 4, 2023 at 3:24 PM

Hi MIGUEL, We are glad, you asked the questions. It’s quite easy to import data from separate sheets and save it as separate documents. Simply, use the following code in a new module of VBA . Only, you have to change the file directory to save the doc file.

Sub ExportWorksheetsToWord() Dim objWord As Object Dim objDoc As Object Dim objRange As Object Dim ws As Worksheet ' Create a new instance of Microsoft Word Set objWord = CreateObject("Word.Application") ' Make Word visible (optional) objWord.Visible = True ' Loop through each worksheet in the workbook For Each ws In ThisWorkbook.Worksheets ' Create a new Word document for each worksheet Set objDoc = objWord.Documents.Add ' Reference the range of the current worksheet Set objRange = ws.UsedRange ' Copy the range to the Clipboard objRange.Copy ' Paste the range into the Word document objDoc.Range.PasteExcelTable LinkedToExcel:=False, WordFormatting:=False, RTF:=False ' Save the Word document with the worksheet name objDoc.SaveAs "C:\ExcelDemy\" & ws.Name & ".docx" ' Replace with your desired file path ' Close the Word document objDoc.Close ' Clean up Set objDoc = Nothing Next ws ' Close Microsoft Word objWord.Quit ' Clean up Set objWord = Nothing Set objRange = Nothing End Sub

output seperate doc files for each worksheet data

After running the code, you will see the doc files created according to your dataset.

In 1990 I bought a wonderful program called Ragtime. I could create a template with a spreadsheet on page one and a Will that followed was populated by the data in the cells. It is now 33 years later and this can’t be done anymore? The steps here are crazy. Absurd. Or more likely, less profitable

Reply

Aniruddah Alam Sep 10, 2023 at 5:12 PM

Thanks, GENE for your comment. As you mentioned in your comment, RagTime is a specialized publishing tool with advanced layout and design capabilities. It may be a better choice for complex design and layout requirements for your mail merge documents. If you’re comfortable with a specialized tool, RagTime is a good option. However, if your needs are simple and you’re already familiar with Excel, using it for mail merging can be practical and efficient. So overall it depends on your requirements and in which platform you are used to do your work. Regards
Aniruddah
Team Exceldemy

Thank you for the information. How would you do multiple line items? For example, like a purchase form.
Qty Description Model/Catalog/Item# Unit Price Total Price
1 Tape logic 1 tape logic 1 1 1
3 Tape logic 2 tape logic 2 1 3 When I followed the steps it only put in the first line item.

Reply

Yousuf Khan Oct 31, 2023 at 11:36 AM

Hello RYAN, Thank you for sharing your experience. I believe you want to auto-populate Word documents from multiple Excel data like a purchase form. The reason you were able to display only one item after following the above steps is that the Mailings feature merges through only one entity for each line. However, it is possible to display every line of the Purchase form using 2 easy steps.
Let’s start creating the dataset as per your requirements: purchase form in ExcelAfterward, let’s create another dataset in Word and follow the steps 3 to 9 of this article. Thus, we get the first line data according to your dataset. Now, we can toggle through each line data using the toggle buttons. purchase template in Word and Toggle buttonsOr, we can display the desired number of lines in a single Word file.
Go to Finish & Merge >> Edit Individual Documents. edit individualPut the number of lines you want to populate >> OK. displaying lines 1 and 2As a result, you get all the lines of data in your Word file. outputRegards,
Yousuf Khan Shovon

Victoria Sharp Feb 5, 2024 at 6:06 AM

I would like to automatically update a word document (that contains every persons information) as the excel sheet is automatically updated from the form. This is for a Conflict of Interest Register.

Reply

Lutfor Rahman Shimanto Feb 7, 2024 at 10:07 AM

Hello VICTORIA SHARP Thank you for reaching out and sharing your requirements. Based on your comment, it seems like you’re looking for a dynamic link between your Excel sheet and Word document to ensure that any updates in the Excel sheet reflect immediately in the Word document. The solution provided in the article serves this purpose quite effectively. Using the Mail Merge feature in Word, you can connect your Excel sheet (containing the Conflict of Interest Register data) and your Word document. So, do not hesitate to follow the steps outlined in the article to establish the connection between the two. Once set up, any changes you make to the Excel sheet will automatically propagate to the Word document when you update the merge fields. This way, you can maintain an accurate and current Conflict of Interest Register without manual effort. Good luck. Regards
Lutfor Rahman Shimanto
ExcelDemy