Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-16-2013, 01:39 AM
macropod's Avatar
macropod macropod is offline Merge Word documents using a mailmerge field Windows 7 64bit Merge Word documents using a mailmerge field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
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

Hi Concertina,

This can be done by combining IF fields and INCLUDETEXT fields with your MERGEFIELDS, but you can just as easily do it without the separate files or the INCLUDETEXT fields you need to access them. Instead, you can have a series if IF fields that test the VariableLetter MERGEFIELD thus:
{IF{MERGEFIELD VariableLetter}= 1 "Text for VariableLetter1"}{IF{MERGEFIELD VariableLetter}= 2 "Text for VariableLetter2"}
... {IF{MERGEFIELD VariableLetter}= 10 "Text for VariableLetter10"}

Note: The field brace pairs (ie '{ }') for the above example are created in the body of the document via Ctrl-F9 (Cmd-F9 on a Mac) - you can't simply type them or copy & paste them from this message.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
100 Primary Mail Merge Documents - want to add a table with fields to all of the primary documents revans611 Mail Merge 3 09-15-2020 12:07 PM
Merge Word documents using a mailmerge field Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 8 02-11-2013 04:40 AM
Continue SEQ field numbering across documents gmaxey Word 0 12-30-2012 09:16 AM
Merge Word documents using a mailmerge field Merge documents ilce Mail Merge 1 02-16-2012 02:33 PM
Text field after word merge in Word 2000 brianlb Word 1 06-29-2009 07:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:57 PM.


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