Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Use the following formatting switch
{ MERGEFIELD INT \# "'+'#;'-'#;' 0'" } A decimal tab might be another solution -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Lee Harris" wrote in message ... I'm trying to format some number fields so that positive numbers are preceeded by a "+" and negative by the "-" and zero by space " " so they all line up nicely looking at a text file I have, it seems I want this: + (plus sign) Adds a plus sign to a positive result, a minus sign to a negative result, or a space if the result is 0 (zero). For example, { = 100 - 90 \# +## } displays "+10", and { = 90 - 100 \# +## } displays "-10". %, $, *, and so on this is my mergefield (an example), but I can't get it to work with the above format { MERGFIELD "INT" } I tried { MERGFIELD \# +## "INT" } and { MERGFIELD "INT" \# +## } but these didn't seem to work can anyone help? tx in advance LeeH |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
TOC lists page numbers in Roman format, ref pages in Arabic format | Page Layout | |||
How do I format telephone numbers in Word? | Mailmerge | |||
Word tables: how do you format numbers? | Tables | |||
How do I format numbers as Currency via Mail Merge? | Mailmerge | |||
How do you format numbers within a document? | New Users |