Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2012, 06:37 PM
Charles Kenyon Charles Kenyon is offline Word 2010 and Excel 2010 Mail merge - multiple headers Windows Vista Word 2010 and Excel 2010 Mail merge - multiple headers Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,597
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Turn on display of field codes when writing fields. Alt-F9

This is what the fields will look like. Note the line break in the middle of the fields which is actually a paragraph mark.

{ IF { MERGEFIELD Water } > 0 "Water: { MERGEFIELD Water }
" "" }{ IF { MERGEFIELD Beer } > 0 "Beer: { MERGEFIELD Beer }
" "" }{ IF { MERGEFIELD Wine } > 0 "Wine: { MERGEFIELD Wine }
" "" }




Note the braces {} cannot be typed in from the keyboard. They have to be inserted by Word. They come in pairs. They are inserted when you add a merge field or a regular field. You can make your own fields with Ctrl-F9 which inserts a pair.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2010 and Excel 2010 Mail merge - multiple headers word 2010 mail merge execute twice smaddi Mail Merge 1 02-05-2012 02:45 AM
Mail Merge using Word 2010 - Header source not be recognized Gage262 Word 8 02-01-2012 11:08 AM
Word 2010 and Excel 2010 Mail merge - multiple headers Outlook 2010, Word2010 and Mail Merge mnorman Outlook 8 12-16-2011 12:42 PM
Mail with macro Excel 2010 santors71 Excel Programming 1 12-07-2011 06:34 AM
Outlook 2010 crashes upon including multiple recepients prior to sending e-mail kris_sordo Outlook 2 04-25-2011 08:23 PM

Other Forums: Access Forums

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