Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
check to see if field is #
i need to check to see if a field is numeric. if it is apply the mask
otherwise just leave it as it is i have this { if { MERGEFIELD "TEST" } "A" "{MERGEFIELD "BLAH" "mask=$#,##0"} "{MERGEFIELD "BLAH"} } please help |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
check to see if field is #
A formatting switch of the type \# "$#,##0" will be ignored if the field is
not numeric. See "Formatting Word fields with switches" on fellow MVP Graham Mayor's website at http://www.gmayor.com/formatting_word_fields.htm -- 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 "raj" wrote in message ... i need to check to see if a field is numeric. if it is apply the mask otherwise just leave it as it is i have this { if { MERGEFIELD "TEST" } "A" "{MERGEFIELD "BLAH" "mask=$#,##0"} "{MERGEFIELD "BLAH"} } please help |
#3
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
check to see if field is #
i am sorry but it does not
it acutally gives syntax error "Doug Robbins - Word MVP" wrote in message ... A formatting switch of the type \# "$#,##0" will be ignored if the field is not numeric. See "Formatting Word fields with switches" on fellow MVP Graham Mayor's website at http://www.gmayor.com/formatting_word_fields.htm -- 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 "raj" wrote in message ... i need to check to see if a field is numeric. if it is apply the mask otherwise just leave it as it is i have this { if { MERGEFIELD "TEST" } "A" "{MERGEFIELD "BLAH" "mask=$#,##0"} "{MERGEFIELD "BLAH"} } please help |
#4
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
check to see if field is #
Not for me it doesn't. What are the contents of the field that causes the
problem and exactly what is the construction of the field that you are using - that is what is contained inside the field delimiters { } that are display when you select the field and Press Shift + F9 or use Alt + F9 to display all of the field codes. -- 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 "raj" wrote in message ... i am sorry but it does not it acutally gives syntax error "Doug Robbins - Word MVP" wrote in message ... A formatting switch of the type \# "$#,##0" will be ignored if the field is not numeric. See "Formatting Word fields with switches" on fellow MVP Graham Mayor's website at http://www.gmayor.com/formatting_word_fields.htm -- 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 "raj" wrote in message ... i need to check to see if a field is numeric. if it is apply the mask otherwise just leave it as it is i have this { if { MERGEFIELD "TEST" } "A" "{MERGEFIELD "BLAH" "mask=$#,##0"} "{MERGEFIELD "BLAH"} } please help |
#5
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
check to see if field is #
Are you inserting the correct switch or your own made up switch from the
original post? {Mergefield blah \# "$,0"} -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org raj wrote: i am sorry but it does not it acutally gives syntax error "Doug Robbins - Word MVP" wrote in message ... A formatting switch of the type \# "$#,##0" will be ignored if the field is not numeric. See "Formatting Word fields with switches" on fellow MVP Graham Mayor's website at http://www.gmayor.com/formatting_word_fields.htm -- 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 "raj" wrote in message ... i need to check to see if a field is numeric. if it is apply the mask otherwise just leave it as it is i have this { if { MERGEFIELD "TEST" } "A" "{MERGEFIELD "BLAH" "mask=$#,##0"} "{MERGEFIELD "BLAH"} } please help |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I enter a check in the checkbox field | Microsoft Word Help | |||
How can I check spelling in a text field form in Word 2003? | Microsoft Word Help | |||
How do I get all my Word documents within one Word window | Microsoft Word Help | |||
check box form field, how do I "check" using Enter Key | Microsoft Word Help | |||
Putting an actual check mark in a check box form field. | Microsoft Word Help |