Mail merge - Multiple rows in single document

Anonymous
2015-03-26T18:41:50+00:00

I have an excel file with 100 Rows to create invoices for diferrent project by using mail merge.

. I am trying to populate a table in a word document from multiple records in spreadsheet as part of my mail merge.

As an example:

The first 40 rows need to be in the first document based on the details available in particular column in my excel sheet , the next 7 rows go into another document etc.

Could you pease help some to do the same in mail merge

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2015-03-26T19:57:36+00:00

    Perhaps you can use Graham Mayor's Merge Many to One add-in.

    0 comments No comments
  2. Doug Robbins - MVP - Office Apps and Services 322.1K Reputation points MVP Volunteer Moderator
    2015-03-26T21:42:49+00:00

    Use the Many to One facility on my MergeTools Add-in

    You can download the MergeTools – 20150309.dotm Add-in that I created from the following page of my One Drive:

    http://bit.ly/1hduSCB

    The MergeTools – 20150309.dotm file needs to be saved in the Word Startup folder.  In Windows Vista and Windows 7, 8 or 8.1, the default location for that folder is

    C:\Users[User Name]\AppData\Roaming\Microsoft\Word\STARTUP

    If you do not see the AppData folder: -

    In Windows 7, - In Windows Explorer, click on the Organize drop down and then on Folder and search options and in the Folder Options dialog, go to the View tab and select the item "Show hidden files, folders, and drives".  While there, it is a good idea to uncheck the box of "Hide extensions for known file types".

    In Windows 8 and 8.1, in the File Explorer, click on Options on the View tab of the ribbon and then on the View tab in the dialog that appears and select the item "Show hidden files, folders, and drives".  While there, it is a good idea to uncheck the box of "Hide extensions for known file types".

    When that has been done and Word is started\re-started, the tab shown below will be added to the Ribbon:

    The requirements for using the system are:

    1. The mail merge main document must be of the Letter type, though that does not mean that the output cannot be sent as an e-mail message.
    2. For the Many To One, Merge with Attachments and Merge to Individual Docs utilities, the data source may be either a table or query in an Access database, or in the form of an Excel worksheet and that worksheet must be the first sheet in the Excel workbook. If the data is on some other sheet, you can easily move that sheet so that it is the first sheet in the workbook by clicking on the sheet tab and dragging it to the left.  For the Chart Merge utility, download the Mail Merging with Charts document that is also on that page of my OneDrive for additional requirements of the data source for use with that utility
    3. For a data source in the form of an Excel worksheet, the field names must be in the first row of the worksheet and there must be a field name in all of the cells in that row that are within the range of columns that contain the data.
    4. For both types of data source, the field names must contain only alphanumeric characters (No @,#,$,%,&,(,), etc) and the field names must not start with a numeric character (0-9).
    5. For a data source in the form of an Excel worksheet, the data must start in the second row of the worksheet and there should be no empty rows within the range of data that is to be processed.

    You may also want to download:

    1. the Merging with Attachments document that is also on that page which explains how the system is used.  It is not actually necessary to have separate attachments as the facility can be used to send just the documents created by the merge itself as attachments, either as the body of the message itself or in the form of Word files or .pdf files.
    2. the Mail Merging with Charts document that is also on that page.  That document explains how you must set up the Excel Data Source and the Mail Merge Main document to be able to execute a merge with a Chart that is unique to each record in the data source.
    3. the Using the Many to One Facility document that describes how to use that facility.
    0 comments No comments
  3. Anonymous
    2015-03-27T11:09:27+00:00

    @ Robbins . thanks for your reply.

    Please note that when i tried the " Many to one " option , getting an error message as

    "

    5941

    The request number of the collection does not exit.

    "

    Please advise.

    0 comments No comments
  4. Doug Robbins - MVP - Office Apps and Services 322.1K Reputation points MVP Volunteer Moderator
    2015-03-27T11:23:00+00:00

    That usually means that you have not inserted the required "group" bookmark in the table.  

    That requirement is detailed in the document on using the Many to one utility.

    If you still have a problem, if you send me the mailmerge main document and the data source, I will investigate the issue.

    0 comments No comments
  5. Anonymous
    2015-03-28T12:31:07+00:00

    Hi Robbins,

    I have sent the files to your email ID.

    So please check and help me to resolve the issue.

    0 comments No comments