Reply
 
Thread Tools Display Modes
  #1   Report Post  
Jeannie
 
Posts: n/a
Default multiply a field by a number

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
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

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
"Jeannie" wrote in message
news
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



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
How to merge without addresses ? Willie van Rensburg Mailmerge 1 June 17th 05 10:22 AM
Syntax for Number format in the Text Form Field Options Ed Hall 61 Microsoft Word Help 3 May 8th 05 07:51 PM
form field,can I add a telephone number under the number field w/d redwolfe5 Microsoft Word Help 3 March 3rd 05 05:30 PM
Formatting Issue on Number Field Brig Mailmerge 2 January 26th 05 02:18 PM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM


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