Create a drop down that will pre-populate other areas of a form

  • Thread starter Thread starter adickson
  • Start date Start date
A

adickson

I want whatever is chosen in my drop downlist to prepopulate another section
on my form. For instance if you choose "Job Level 50" an overview of what
Job Level 50 is, will appear in an overview box.

Is that possible?
Thanks
 
If the overview of each Job Level was saved as an autotext entry, you could
using code such as the following in a macro run on exit from the drop down:

' Macro created 15-11-97 by Doug Robbins to add the address corresponding to
a drop down name
'
Set myDrop = ActiveDocument.FormFields("Dropdown1").DropDown
Company = myDrop.ListEntries(myDrop.Value).Name
Address = ActiveDocument.AttachedTemplate.AutoTextEntries(Company).Value
ActiveDocument.FormFields("Text1").Result = Address


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
Back
Top