Hi Td,
Mmm, been a while since I've used Word 2000. I thought it used to work
in that version, but maybe it was even further back...
Anyway, I can get it to work, after a fashion, without having to use a
macro:
1. Somewhere in the document, insert a REF field that references the
name (form field) of the dropdown. This will display that value.
2. Select the entire field and assign it a bookmark.
3. Reference this bookmark in your calculation field.
4. Be sure "Calculate on exit" is activated for all the fields involved
in the calculation.
At this point, you should see the calculation update in the protected
form. Of course, you probably won't want to see that value twice in the
document, so...
I found I had to select the REF field and format it as "white". I tried
with "hidden", but the calculation field doesn't pick it up. You can
position it somewhere where it won't be noticeable, use it somewhere in
place of a space, or format it with a very small font size to make it
even less noticeable.
I'm using Word 2000. So here's how it's not working. I have two form
fields, one is a text entry field specified as a numeric field and the
other is a drop-down field. I want to use a formula field to multiply
the two form fields and display the result. For example, a person
using the form would enter 3 in the text entry field, then select
either 5000 or 12000 in the drop down list. The formula field
multiples the two bookmarks for the form fields to display the result.
But when I use a drop down list field, it doesn't work. I then tried
changing the drop down list field to a text entry field specified as
numeric, and then filled in the form with 3 in the first field and
5000 in the second. This time, the formula field displays 15,000 as
expected. So my conclusion was that the values from the drop down list
are not being recognized as numeric values. Any ideas would be
appreciated.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail