multiply a field by a number

J

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
 
D

Doug Robbins

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top