Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-03-2015, 09:06 PM
macropod's Avatar
macropod macropod is offline Explanation of "other placeholders" Windows 7 64bit Explanation of "other placeholders" Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
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

Not using a Mac, I don't know what the "other placeholders" tab is - there isn't one of that name in Word 2010, for example.

That said, it seems you want to conditionally output some content only when a particular field has some content. Since you're using a Mac, you can't use the mergefield \b and \f swtiches for that purpose. Instead you need to use an IF field to perform a test.

Suppose, for example, you're merging data for clients and your data source contains a field for their middle initials, named 'Initials'. In that case you might use a field as follows to only output a space after the 'Initials' field if it actually has some content:
{IF{MERGEFIELD Initials}<> "" "{MERGEFIELD Initials} "}
or:
{IF«Initials»<> "" "«Initials» "}

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Cmd-F9 (Ctrl-F9 on a PC); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar. The spaces represented in the field construction are all required.

This is all discussed in my Mailmerge Tips & Tricks Sticky thread at the top of this forum: https://www.msofficeforums.com/mail-...ps-tricks.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
mail merge, placeholders



Similar Threads
Thread Thread Starter Forum Replies Last Post
Explanation of &quot;other placeholders&quot; Using "insert other placeholders" *Ask, *Fill In, etc nfotx Mail Merge 1 07-06-2015 02:04 PM
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas jocke321 Word VBA 2 12-10-2014 11:27 AM
Microsoft Office XP/2003/2007/2010 Graphic Filters "Allow List" Explanation Jazz43 Office 0 08-24-2011 10:47 AM
Explanation of &quot;other placeholders&quot; How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM
Explanation of &quot;other placeholders&quot; Option "Show picture placeholders" only works for inline pictures?? Fix? MattM Word 2 06-15-2011 06:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:24 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