Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
PaddyWack PaddyWack is offline
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default 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   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default 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   Report Post  
Posted to microsoft.public.word.mailmerge.fields
PaddyWack[_2_] PaddyWack[_2_] is offline
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default 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

Posting Rules

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting for Currency jayC New Users 1 February 1st 08 07:37 AM
Currency Formatting - Word 2000 Chris Stammers Mailmerge 8 May 13th 07 11:02 AM
Formatting for Currency Louisq Microsoft Word Help 2 July 14th 06 04:58 PM
How do I to set numbers to currency in table formatting? MM Tables 1 May 31st 06 11:55 PM
Currency formatting MarkN Microsoft Word Help 7 January 19th 06 09:56 AM


All times are GMT +1. The time now is 01:32 PM.

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"