Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Currency formatting
I have a project that I maintain for a client. It uses Word merge documents that have dynamic text based on user input. The problem is that when merge fields are formatted as currency and the dynamic text moves the fields to the right margin, the "$" is often separated from the value. So the client gets output with "$" at the right margin and the value starting on the next line. Any ideas? -- PaddyWack |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Currency formatting
Are you using a currency switch on the field eg
{Mergefield Fieldname \# "$,0.00"} The field should then stay together. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org PaddyWack wrote: I have a project that I maintain for a client. It uses Word merge documents that have dynamic text based on user input. The problem is that when merge fields are formatted as currency and the dynamic text moves the fields to the right margin, the "$" is often separated from the value. So the client gets output with "$" at the right margin and the value starting on the next line. Any ideas? |
#3
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Currency formatting
How is the amount being formatted as currency. If you add the following
formatting switch to the merge field, you will not get a break between the $ and the amount. \# "$,0.00" If you want a space between the $ and the amount, you should use a not-breaking space (Ctrl+Shift+Space), either in the formatting switch, or if the $ is entered directly into the document, between it and the merge field. -- 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 "PaddyWack" wrote in message ... I have a project that I maintain for a client. It uses Word merge documents that have dynamic text based on user input. The problem is that when merge fields are formatted as currency and the dynamic text moves the fields to the right margin, the "$" is often separated from the value. So the client gets output with "$" at the right margin and the value starting on the next line. Any ideas? -- PaddyWack |
#4
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Currency formatting
Was using {MERGEFIELD XYZ \# $#,###}. Making that {MERGEFIELD XYZ \# $,###} seems to have done the trick, so long as that handles values = $1,000. Thanks. Now I can get out of word processor mode and go back to software development. Doug Robbins - Word MVP;2738806 Wrote: How is the amount being formatted as currency. If you add the following formatting switch to the merge field, you will not get a break between the $ and the amount. \# "$,0.00" If you want a space between the $ and the amount, you should use a not-breaking space (Ctrl+Shift+Space), either in the formatting switch, or if the $ is entered directly into the document, between it and the merge field. -- 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 "PaddyWack" wrote in message ...- I have a project that I maintain for a client. It uses Word merge documents that have dynamic text based on user input. The problem is that when merge fields are formatted as currency and the dynamic text moves the fields to the right margin, the "$" is often separated from the value. So the client gets output with "$" at the right margin and the value starting on the next line. Any ideas? -- PaddyWack - -- PaddyWack |
#5
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Currency formatting
If you only want whole numbers, the correct switch would be
{MERGEFIELD XYZ \# "$,0" } -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org PaddyWack wrote: Was using {MERGEFIELD XYZ \# $#,###}. Making that {MERGEFIELD XYZ \# $,###} seems to have done the trick, so long as that handles values = $1,000. Thanks. Now I can get out of word processor mode and go back to software development. Doug Robbins - Word MVP;2738806 Wrote: How is the amount being formatted as currency. If you add the following formatting switch to the merge field, you will not get a break between the $ and the amount. \# "$,0.00" If you want a space between the $ and the amount, you should use a not-breaking space (Ctrl+Shift+Space), either in the formatting switch, or if the $ is entered directly into the document, between it and the merge field. -- 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 "PaddyWack" wrote in message ...- I have a project that I maintain for a client. It uses Word merge documents that have dynamic text based on user input. The problem is that when merge fields are formatted as currency and the dynamic text moves the fields to the right margin, the "$" is often separated from the value. So the client gets output with "$" at the right margin and the value starting on the next line. Any ideas? -- PaddyWack - |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formatting for Currency | New Users | |||
Currency Formatting - Word 2000 | Mailmerge | |||
Formatting for Currency | Microsoft Word Help | |||
How do I to set numbers to currency in table formatting? | Tables | |||
Currency formatting | Microsoft Word Help |