Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2017, 08:08 PM
macropod's Avatar
macropod macropod is offline Read the links, still having trouble with Field Codes Windows 7 64bit Read the links, still having trouble with Field Codes Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your mailmerge field coding appears to be based on the MS articles rather than the tutorial you downloaded. The coding in the MS articles won't do what you want; you need the tutorial's field coding for that. 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

Another option, if your workbook has a separate sheet with just a single instance of each of the grouping criteria, would be to use a DATABASE field in a normal ‘letter’ mailmerge main document could be used without the need for a macro. For an example of that, see:
https://answers.microsoft.com/en-us/...f-8642e46fa103
The DATABASE field can even be used without recourse to a mailmerge, though that may not suit your requirements. 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
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read the links, still having trouble with Field Codes VBA Code to search for field codes with certain text before the Field code and to change style welcometocandyland Word VBA 4 02-08-2017 06:53 PM
Read the links, still having trouble with Field Codes IF in field codes? tinfanide Word 1 09-15-2016 06:19 AM
Read the links, still having trouble with Field Codes New to Field Codes Panzer336 Word 2 04-11-2016 07:57 AM
trouble with excel to word links. acceptor Word 3 01-02-2015 12:14 PM
Formula Field using Field Codes hunter2193 Word 3 04-05-2013 04:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft