Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading formfields dropdown value 1

Status
Not open for further replies.

spruceni

Technical User
May 18, 2007
72
GB
Hi

I am using access VBA to open a word document and read the contents of various formfields. I am stuck on the dropdown fields. If I use

strName = .FormFields("ddReferred").Dropdown.Value

I get the index of the dropdown field. How do I get the actual text in the dropdown field? This would save me having to do a lookup for the text, the index referrs to.

Regards

Alan
 
Thanks for this. I thought it would be different from a formfield text box and never tried it.

Alan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top