total yes and no text fields

G

gh

I have a table with 3 fields, all are formatted as text fields with a combo
box control with 3 choices "yes" "no" "dna". How can i total the individual
responses(yes, no, dna) for each field.
 
D

Doug Robbins

It's not really clear just what fields you have in the document. Is it
three dropdown type formfields?

However, the following code will return 1 if the first item in a dropdown is
selected, 2 if it's the second, 3 if it's the third

ActiveDocument.FormFields("Dropdown1").DropDown.Value

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top