Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
"Fillin" in word
I am trying to put a form in word that inserts different text depended on
what the user has entered i.e. following a question if the user enters "1" then a block is inserted but if they entered "2" then a different block of text is entered, and so on. If this possible -- Dave |
#2
|
|||
|
|||
You may be able to achieve what you want with an AutoTextList field. See
http://word.mvps.org/FAQs/TblsFldsFms/AutoTextList.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Dave" wrote in message ... I am trying to put a form in word that inserts different text depended on what the user has entered i.e. following a question if the user enters "1" then a block is inserted but if they entered "2" then a different block of text is entered, and so on. If this possible -- Dave |
#3
|
|||
|
|||
Create an autotext entry for each of the pieces of text and then use a
dropdown type formfield from which the user selects the number that relates to each piece of text (or perhaps some more meaningful entry) and then on exit from that formfield, run a macro similar to the following: Sub Macro2() ' ' Macro2 Macro ' 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(Co mpany).Value ActiveDocument.FormFields("Text1").Result = Address End Sub -- 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 "Dave" wrote in message ... I am trying to put a form in word that inserts different text depended on what the user has entered i.e. following a question if the user enters "1" then a block is inserted but if they entered "2" then a different block of text is entered, and so on. If this possible -- Dave |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Reveal Formating Code | Microsoft Word Help | |||
letters - ask/fillin | New Users | |||
Converted document from WordPerfect. New footnotes are not being. | Microsoft Word Help | |||
word xp crashes after macros are recorded | Microsoft Word Help | |||
Macro that will add the file path & date to Word footnotes? | Microsoft Word Help |