Sorry, there should be a quote mark before the #,### that I missed when
typing my response. If that is missing, you will get a syntax error
message. The correct field construction is:
{IF { =A1*B1 } > 10 { = A1*B1 \# "#,###" } { = A1*B1 \# "##.0" } }
(Note it does appear, at least in this case, that the quote marks are
optional, but if you have one (opening or closing) then you must have the
other one as well so that they are in pairs. The following should also
work:
{IF { =A1*B1 } > 10 { = A1*B1 \# #,### } { = A1*B1 \# ##.0 } }
I am not sure however that this optionality applies to all field switches
and for that reason, it is probably better to adopt the practice of always
using the quotes.)
I assume that you have this entered in the cell at the intersection of the
first row and the third column of a table so that the A1 and B1 are
referring to numbers entered into the first two cells of that row.
and ALL of the field delimiters { } must be insert by using Ctrl+F9

Signature
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
> Hi Doug,
>
[quoted text clipped - 40 lines]
>> >> >
>> >> > Thank you
Doc60 - 28 Oct 2007 14:31 GMT
Hi Doug,
I did try putting the quote marks in however I still got a Syntax error.
2 questions -
1- I am putting this in the C1 row should I be putting it in another row.
2- When I try to write this into the Macro directly I am trying to use the
Ctrl+F9 to put the "{ }" in but nothing happens. I have also tried to put it
in as a formula into the table and when I tried to put in the "{ }" nothing
happens. So I have to put the "{ }" in manually could that be the problem?
Again thanks for continuing to assist me with this.
> Sorry, there should be a quote mark before the #,### that I missed when
> typing my response. If that is missing, you will get a syntax error
[quoted text clipped - 63 lines]
> >> >> >
> >> >> > Thank you
Graham Mayor - 28 Oct 2007 16:37 GMT
Each pair of field brackets should be entered with CTRL+F9 i.e. 4 pairs! So
you should have
{ IF { =A1*B1 } > 10 { = A1*B1 \# ",0" } { = A1*B1 \# ",0.0" } }
(which is a simpler way of expressing your original field construction.)
What do you mean by 'nothng happens'? Nothing should happen unless you
update the field (F9). This field will always have to be updated to produce
the result.
Although not strictly necessary with fields as results I prefer to insert
the results in quotes also so
{ IF { =A1*B1 } > 10 "{ = A1*B1 \# ",0" }" "{ = A1*B1 \# ",0.0" }" }
Would be my choice. This construction can go in any cell you like -
including C1.
It will not work outside the table.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Hi Doug,
>
[quoted text clipped - 103 lines]
>>>>>>>
>>>>>>> Thank you
Doug Robbins - Word MVP - 28 Oct 2007 20:46 GMT
Does your keyboard have an FLock key that must be pressed to enable the
Function Keys?
The field construction should be entered directly into the table, but you
must use Ctrl+F9, not the { and } keys on the keyboard to insert the field
delimiters.

Signature
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
> Hi Doug,
>
[quoted text clipped - 89 lines]
>> >> >> >
>> >> >> > Thank you