![]() |
#1
|
|||
|
|||
![]()
Hi Everyone,
I'm a bit new to this mailmerge thing but I've spent half a day on it and just can't seem to get it to work. I've got some basic programming knowledge but mailmerge is just so different from everything that I'm used to. Situation (sorry if I get any terminology wrong): - I'm using mail merge line items in a table, and each line pulls out different components of a record. - This gets fed into my accounting software which generates invoices (The software lets me upload docx files as invoice templates. These files use mailmerge code to fill in the details of each invoice). Example mail merge code in the docx file ![]() Example output on the invoice (recreated in Excel for simplicity) ![]() Question As shown in the picture above, how do I combine components of two different records into the same record? If someone could post some example code that would be great... Thanks for your time, hope you can help Last edited by JemmyRi; 10-16-2014 at 10:38 PM. Reason: Updated image links |
#2
|
||||
|
||||
![]()
There are two issues with your mailmerge:
1. Whatever the process is, it uses an addin that employs non-standard fields. The TableStart:LineItem and TableEnd:LineItem codes evidences that. Consequently, what you can do may be limited by what your software supports - unless, of course, you can access the database via a standard Word mailmerge. 2. Assuming you have the required flexibility, the next issue is: How would the mailmerge process identify which records to combine? Indeed, are they different records, or are they perhaps different fields from the same record?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
abhilashv | Mail Merge | 1 | 01-22-2014 04:02 AM |
Combining charts | mlsds | Excel | 4 | 10-22-2012 07:35 AM |
![]() |
Blaie | Word | 1 | 06-04-2011 06:35 PM |
![]() |
dms997 | Word | 5 | 02-26-2011 03:25 AM |
![]() |
Pouye | PowerPoint | 1 | 06-29-2010 11:20 AM |