Does anybody know how to get the result from a formdropdown in word7? I tried activedocument.fields(1).result but it gives me a blank result, even if I made a selection. If I try a activedocument.fields(1).code, I get FORMDROPDOWN. PLEASE HELP!
Printable View
Does anybody know how to get the result from a formdropdown in word7? I tried activedocument.fields(1).result but it gives me a blank result, even if I made a selection. If I try a activedocument.fields(1).code, I get FORMDROPDOWN. PLEASE HELP!
I think:
will do the job.VB Code:
ActiveDocument.FormFields(1).DropDown.ListEntries(ActiveDocument.FormFields(1).DropDown.Value).Name
FormFields(1) is the first Object on that document, change that to whatever you need.