View Single Post
  #8   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Can word calculate a column in a table in a form template?

When you protect the form, users can't type anywhere except where you've
placed form fields. That's the way forms work; you may want to read the
forms tutorials by Dian Chapman that are linked from
http://word.mvps.org/FAQs/Customizat...nTheBlanks.htm. When you
designate a Text Form Field as a calculation type, then user entry is
prohibited there as well; the content of the field depends on the
calculation. You should not be putting formulas in the fields where you want
users to enter numbers; you only want the formula where you want the
subtotal or total. Also, for all the form fields that contribute to the
calculation, you need to check the box for "Calculate on exit." Also, note
that calculations based on calculated fields may be incorrect; see €śWD2000:
Calculation in Form Field Shows Wrong Result€ť at
http://support.microsoft.com/?kbid=211253

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Bettina" wrote in message
...
Suzanne,

For every cell in the table before the subtotal column, I have placed a

text
field box and under properties, have the code =sum(above). For the

subtotal
cell, I have done the same. The subtotal cell is not adding a total for

the
numbers I am entering. Also, the form fields freeze if I lock the sheet

which
I need to because of the text fields.

Please tell me what I need to do in each cell so that a user can enter a
number and what to place in the subtotal cell and cells inbetween and the
final total cell. I'm having problems figuring this out.

Please let me know if you need further explanation.
Thanks so much!!!--
Bettina


"Suzanne S. Barnhill" wrote:

I think I misread your original post and thought you were already using

form
fields in a protected form. If you are, then a calculation field is one

type
of Text Form Field. If you're just using an unprotected table, then you

can
use Formula fields, but you have to specify the range (the easiest, of
course, is Sum(Above), but that has limitations); see the Help topics
"Perform calculations in a table" and "Referencing cells in a table."

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Bettina" wrote in message
...
Okay, I re-read your reply and entered a text form field in each cell

of
the
column I would like to automatically sum once numbers are entered.

Here's my confusion: when I place my cursor in the subtotal cell and

choose
insert, field, there's no category for calculation. There is a box to

choose
formula and if I choose that it wants a range?

Please help -- thank you!
--
Bettina


"Suzanne S. Barnhill" wrote:

Use a calculation form field; that is, insert a text form field and,

in
the
Form Field Options, choose Calculation as the type and enter the

desired
formula.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Bettina" wrote in message
...
Hi.

I have a template that works like a form where people enter

information
into
text boxes.

One part of the form has a table and I want people to enter

numbers
into
one
column. I would like the subtotal and total column to

automatically
add up
whatever numbers are entered.

Is this possible?
--
Bettina