Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2015, 01:22 PM
TotheMoonAlice TotheMoonAlice is offline Need to Selectively Merge Records to Different Places in a Word Directory-type Document Windows 7 64bit Need to Selectively Merge Records to Different Places in a Word Directory-type Document Office 2010 64bit
Novice
Need to Selectively Merge Records to Different Places in a Word Directory-type Document
 
Join Date: Mar 2015
Location: Pasadena, CA
Posts: 3
TotheMoonAlice is on a distinguished road
Default Need to Selectively Merge Records to Different Places in a Word Directory-type Document

My company regularly creates "rosters" (or directory documents) that list contact info for people with roles for a trust fund. The rosters have a certain format -- people with an "Administrator" role are listed at the top, then people with the Attorney role, etc., then below a line are two columns--the left is for records with Union Trustee roles, the right is for records with Management Trustee roles (see attached).



If the list of contacts is an Excel document and Role is one of the fields, (or columns), is it possible to merge the contacts records to certain places in the Word document based on their value in the Role field? I can make sure the Excel document is sorted by Role in the order the contacts will need to be inserted, and make sure the Word document allows inserted the maximum number of possible records for each section, but I don't know how to make Word jump to a new section if the next record has a certain Role value.

Thank you!!
Attached Files
File Type: doc Sanitized Roster.doc (55.0 KB, 8 views)

Last edited by Charles Kenyon; 03-26-2015 at 02:45 PM. Reason: Moved to mailmerge forum
Reply With Quote
  #2  
Old 03-26-2015, 04:41 PM
TotheMoonAlice TotheMoonAlice is offline Need to Selectively Merge Records to Different Places in a Word Directory-type Document Windows 7 64bit Need to Selectively Merge Records to Different Places in a Word Directory-type Document Office 2010 64bit
Novice
Need to Selectively Merge Records to Different Places in a Word Directory-type Document
 
Join Date: Mar 2015
Location: Pasadena, CA
Posts: 3
TotheMoonAlice is on a distinguished road
Default

I've rethought a solution -- can you tell me if this is possible?:

If the records in Excel are merged in the same "Role" as needs to be inserted in the Word document, can a marker in the Excel document tell Word when to jump to the next section?

In other words, can Word look for a value in a certain field and only merge the records with that value in a different section?
Reply With Quote
  #3  
Old 03-26-2015, 11:23 PM
gmayor's Avatar
gmayor gmayor is offline Need to Selectively Merge Records to Different Places in a Word Directory-type Document Windows 7 64bit Need to Selectively Merge Records to Different Places in a Word Directory-type Document Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You can't jump around like this in Word mail merge, or use disparate sections supplied from the same data source.

You are going to have to create (or get someone to create for you) a custom VBA process to populate the document from your data source. You will probably have to use a two column table for the top section, but snaking columns should work for the lower section.

The document suggests that there are 15 pages in total and the demo page is page 2. Anyone working on this would need to consider how the rest of the pages were formatted.

It is doable but it would be a lot of work to get right, and would require access to the data source, which would not be appropriate for a public forum.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #4  
Old 03-27-2015, 08:11 AM
TotheMoonAlice TotheMoonAlice is offline Need to Selectively Merge Records to Different Places in a Word Directory-type Document Windows 7 64bit Need to Selectively Merge Records to Different Places in a Word Directory-type Document Office 2010 64bit
Novice
Need to Selectively Merge Records to Different Places in a Word Directory-type Document
 
Join Date: Mar 2015
Location: Pasadena, CA
Posts: 3
TotheMoonAlice is on a distinguished road
Default

Thank you!

I'm really glad I got a solid confirmation of this, instead of no answers, since I'm trying to do this for my job, it's very helpful to not have to just say, "uh, I can't do this".

Thanks so much!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Selectively Merge Records to Different Places in a Word Directory-type Document Word 2010 - directory mail merge - two separate group of data in one document htsu Mail Merge 2 03-07-2016 03:10 PM
Need to Selectively Merge Records to Different Places in a Word Directory-type Document how to selectively highlight text in word cnyoon2 Word 1 08-04-2015 08:16 AM
in 2013, cannot format 4 dec places in Word Document Abacus1234 Mail Merge 3 10-23-2013 03:57 PM
Need to Selectively Merge Records to Different Places in a Word Directory-type Document Mail Merge, Number to 2 Decimal Places Vampy99 Mail Merge 7 09-25-2011 05:41 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:12 AM.


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