Discussion:
multiply a field by a number
(too old to reply)
Jeannie
2005-09-14 22:42:08 UTC
Permalink
I need to multiply a merge field by a number, but I keep getting syntax
error, I am inserting a field, clicking on formula and putting in
«CompteDeNoCour»*700
What is the syntax error?
Thanks for your help and your time
Doug Robbins
2005-09-15 04:01:48 UTC
Permalink
Press Alt + F9 to reveal the field codes and you will see { MERGEFIELD
"CompteDeNoCours" }. Select this and then press Ctrl + F9 to enclose it in
a second pair of field delimiters, the between the { { enter the equal sign
and between the } } enter *700, so that you have

{ = { MERGEFIELD "CompteDeNoCours" }* 700 }

Press Alt+F9 to toggle off the display of the field codes.

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
Post by Jeannie
I need to multiply a merge field by a number, but I keep getting syntax
error, I am inserting a field, clicking on formula and putting in
«CompteDeNoCour»*700
What is the syntax error?
Thanks for your help and your time
Loading...