Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
am am is offline
external usenet poster
 
Posts: 17
Default format zero values merge fields

I am using Word and Excel 2007 and am mail merging numeric values from Excel
into Word. I would like any zero values to be returned as "-." I know how
to return the values as "0" or blank, but not as "-". Does anyone know the
"switch" that gets me to this format??
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default format zero values merge fields

There are various possible ways you could deal with this depending on what
you want to see when the number is positive or negative, but, e.g.

{ MERGEFIELD myfield \#"'{ MERGEFIELD myfield }';'{ MERGEFIELD
myfield }';'-'" }

where all the {} are the special field braces you can insert using ctrl-F9

Peter Jamieson
"am" wrote in message
...
I am using Word and Excel 2007 and am mail merging numeric values from
Excel
into Word. I would like any zero values to be returned as "-." I know
how
to return the values as "0" or blank, but not as "-". Does anyone know
the
"switch" that gets me to this format??



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Values will not keep format from Excel to Word xp mail merge bioteacher Mailmerge 12 October 15th 07 05:32 PM
Embedding values of merge fields in the final document Mike Mailmerge 3 December 19th 06 11:58 PM
mail merge format fields Graham Mayor Mailmerge 1 January 27th 06 09:58 AM
Controlling Format of Merge Fields Neil Trotter Mailmerge 2 December 23rd 05 08:26 PM
SUM of values in three TextForm fields? Ray_Johnson Microsoft Word Help 0 August 4th 05 06:59 PM


All times are GMT +1. The time now is 01:27 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"