Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lambs
 
Posts: n/a
Default Syntax for performing arithmetic functions on merge fields.

Hello,

I am trying to get some merge fields to add together (they do have
underlying numeric values) in a standard letter. I am using Word 97 so I
should like to edit the field codes directly.

Say I have a field "Amount1" and "Amount2", I am just trying to add one to
the other, and then apply a numeric format switch to the result.

I'd be very grateful for any assistance that people can give.

Regards,

Lambs
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod
 
Posts: n/a
Default Syntax for performing arithmetic functions on merge fields.

Hi Lambs,

The syntax is:
{=«Amount1»+«Amount2»}

Assuming you've got your two mergefields, «Amount1» & «Amount2»,
side-by-side, you can create the above by selecting both fields then
pressing Ctrl-F9 to wrap another, empty, field around them. Then, simply
fill in between the field braces so that you've got the above and add
whatever numeric formatting you want. For example:
{=«Amount1»+«Amount2» \# $,0.00}
will give you a dollar & cents result, with a thousands separator, in your
merged output.

Cheers



"Lambs" wrote in message
...
Hello,

I am trying to get some merge fields to add together (they do have
underlying numeric values) in a standard letter. I am using Word 97 so I
should like to edit the field codes directly.

Say I have a field "Amount1" and "Amount2", I am just trying to add one to
the other, and then apply a numeric format switch to the result.

I'd be very grateful for any assistance that people can give.

Regards,

Lambs



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
Form text fields are disappearing during a merge to new document. Trevor Drew Mailmerge 7 January 30th 06 09:35 PM
"Insert Merge fields" button is inactive Robert Judge Mailmerge 2 September 27th 05 07:47 AM
ASK and FILLIN fields in INCLUDETEXT documents do not merge correc ChrisM Mailmerge 3 April 12th 05 04:05 AM
Can you create a multi-layered merge where certain merge fields a. mileszat Mailmerge 3 January 18th 05 03:46 AM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 04:01 PM


All times are GMT +1. The time now is 04:46 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"