Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-11-2011, 02:21 PM
macropod's Avatar
macropod macropod is offline Making the IF field work (not Mail Merge) Windows 7 32bit Making the IF field work (not Mail Merge) Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
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 Caroline,

Glad to see you got it sorted. Whenever you see text representations of field codes, with the '{ }' or '« »', that almost invariably means you need to insert a real field at that point. The chevrons (ie '« »') represent mergefields as they appear when inserted from the mailmerge toolbar

There is another way, other than using Insert|Field for creating fields, and that's to press Ctrl-F9. For your particular example, you could simply press Ctrl-F9 twice to create a pair of nested fields (ie '{ { } }'), then fill in/around the field braces with the required expressions. And, if you find a complex field that you want to re-create, head over to:
http://www.gmayor.com/export_field.htm#TextToField
for a macro I developed to convert the text representation to a working field.

FWIW, you don't need the \* MERGEFORMAT switch, either.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making the IF field work (not Mail Merge) confusion with merge and field codes BluRay Mail Merge 5 03-29-2011 01:06 AM
Making the IF field work (not Mail Merge) Merge field in header disappearing Medievalguy88 Word 2 01-06-2011 08:19 AM
Making the IF field work (not Mail Merge) Selecting merge field based on whether or not text is present amym Mail Merge 1 12-07-2010 05:14 AM
Mail merge Field Code Manipulation macjnr Mail Merge 0 09-10-2009 11:37 AM
Making the IF field work (not Mail Merge) mail merge making me crazy oreomax Mail Merge 3 06-16-2009 06:53 AM

Other Forums: Access Forums

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