![]() |
#4
|
||||
|
||||
![]() Quote:
http://windowssecrets.com/forums/sho...merge-Tutorial or: http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it. The field coding for this is complex. However, since the tutorial document includes working field codes for all of its examples, most of the hard work has already been done for you - you should be able to do little more than copy/paste the relevant field codes into your own mailmerge main document, substitute/insert your own field names and adjust the formatting to get the results you desire. For some worked examples, see the attachments to the posts at: https://www.msofficeforums.com/mail-...html#post23345 https://www.msofficeforums.com/mail-...html#post30327 http://windowssecrets.com/forums/sho...l=1#post928391 Another option would be to use a DATABASE field in a normal ‘letter’ mailmerge main document and a macro to drive the process. An example of this approach can be found at: http://answers.microsoft.com/en-us/o...1-1996c14dca5d The DATABASE field can even be used without recourse to a mailmerge. An example of such usage can be found at: https://www.msofficeforums.com/mail-...html#post67097 Alternatively, you may want to try one of the Many-to-One Mail Merge add-ins, from: Graham Mayor at http://www.gmayor.com/ManyToOne.htm; or Doug Robbins at http://bit.ly/1hduSCB In addition to a 'Many to One' merge, the latter handles: • Merge with Charts • Duplex Merge • Merge with FormFields • Merge with Attachments • Merge to Individual Documents • Merge, Print and Staple Quote:
{IF{MERGEFIELD Quote_Product_Existing_Product} = "Widget" "Additional text for Widget"} in the appropriate part of the mailmerge main document. If you want to add that conditional text only after the repeating data, things are a bit more complicated, but still doable.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
bookmark, mail merge, self-reference |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Find Bookmark, move to bookmark, execute code, repeat | raymm3852 | Word VBA | 10 | 04-15-2016 06:21 PM |
![]() |
RegAudit | Word | 6 | 03-16-2015 11:08 PM |
![]() |
wmac | Word | 1 | 05-14-2013 08:54 PM |
![]() |
mpdsal | Word | 1 | 07-26-2012 01:05 PM |
![]() |
gib65 | Word | 3 | 09-17-2011 10:40 AM |