Each dropdown field will have a bookmark name, by default Dropdown1,
Dropdown2 etc. Check the calculate on exit checkbox property of the last
field to contribute to the calculation, and where you want the total use a
formula field eg
{ ={ Dropdown1 } + { Dropdown2 } }
note all field bracket pairs are inserted with CTRL+F9.
You could do much the same by macro to enter the calculation in another form
field eg to put the same dropdown form field results into a form field
"Text1"
Run
Sub CalcDD()
Dim oFld As FormFields
Dim x As Long
Dim y As Long
Set oFld = ActiveDocument.FormFields
x = oFld("Dropdown1").Result
y = oFld("Dropdown2").Result
oFld("Text1").Result = x + y
End Sub
on exit from Dropdown2
Frankly using formula fields is far simpler for such a task.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Where would i get this Onentry mscro that will perform this function.
Never done this. Help is greatly appreciated.
fumei via OfficeKB.com said:
Yes. Are you asking about dropdowns in a column in a Word table? I
am assuming this is the case.
You could have a text formfield with an OnEntry macro that when you
Tab into it, would get all the values of the dropdowns, total them,
and write that value.
There are other possibilities.
Last question. Can columns with several dropdowns be added/totaled
if so how? Thank you for your assitance.
The dropdown field can be used entirely with the keyboard, but it
isn't quite obvious how to do that. When the cursor is moved to
the dropdown
[quoted text clipped - 24 lines]
Any help is appreciated.