Re: Automatic population of text boxes from dropdown selections



You will need to edit this code for you specific needs (e.g., populate a
text field vice another dropdown) but it should be you started:

http://gregmaxey.mvps.org/Linked_DropDown_Fields.htm
--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

"Bikertyke" <Bikertyke@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E81644D6-D875-4A9C-A80C-BD4E0116B2C3@xxxxxxxxxxxxxxxx
I'm trying to produce a document in WORD 03 that will allow a user to
select
items from dropdowns in a list of contents that will then populate text
boxes
in other areas of the document with information relevant to the selection
made in the dropdown e.g. if the user selects apples from the drop down
the
description will automatically be populated with, say "fresh and crunchy,
ideal for snacks' and the colour will populate with 'red'. If the user
selects pears different descriptions and colour would be used.
It would also be preferable for the dropdown and text box to be removed if
no selection is made in order that no gaps are left in the body of the
document.
Ideas for macro's gratefully recieved as programing is not a strong point.


.



Relevant Pages

  • Re: Populating text boxes with macros in dropdowns
    ... Code such as the following can be used to populate a formfield with an ... autotext entry that corresponds to an item selected from a dropdown type ... items from dropdowns in a list of contents that will then populate text ... in other areas of the document with information relevant to the selection ...
    (microsoft.public.word.vba.general)
  • Re: Automatic population of text boxes from dropdown selections
    ... Greg Maxey/Word MVP ... and saves without clicking outside the dropdown and this could lead ... I presume i'd substitute 'Dim oDD As DropDown' with 'Dim oTF As ... populate a text field vice another dropdown) but it should be you ...
    (microsoft.public.word.docmanagement)
  • Re: WebPart Postback
    ... Dropdown_Load event to populate the dropdown from the existing list ... In the Load event populate the Dataset and put the dataset in a Session ... Create a new button event handler, populate the datagrid from the ... Dim oSite As SPSite ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: SQL Query - Populate Drop Down
    ... League - connected to - Division - connected to Team ... next page populate a dropdown with all the divisions in that league. ... You should supply a few rows of sample data, ...
    (microsoft.public.inetserver.asp.db)
  • Re: SQL Query - Populate Drop Down
    ... League - connected to - Division - connected to Team ... page populate a dropdown with all the divisions in that league. ... You should supply a few rows of sample data, ...
    (microsoft.public.inetserver.asp.db)