Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Options in a dropdown list
I have created a dropdown list. I have an "Other". If they select the
"Other" I'd like a fill in the blank to appear for them to type the specifics of their "other". How do I get the blank to appear without always showing it? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Options in a dropdown list
You can run a macro on exit from the dropdown field to trap the entry Other
and add the user's choice eg Sub EnterYourOwn() Dim oFld As FormFields Set oFld = ActiveDocument.FormFields Select Case oFld("Dropdown1").Result Case Is = "Other" start: sText = InputBox("Enter the text for this field") If sText = "" Then MsgBox "This field may not be left blank" GoTo start: End If oFld("Dropdown1").Result = sText Case Else 'Do nothing End Select End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org ezconklin wrote: I have created a dropdown list. I have an "Other". If they select the "Other" I'd like a fill in the blank to appear for them to type the specifics of their "other". How do I get the blank to appear without always showing it? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Use & in dropdown list | Microsoft Word Help | |||
all fonts in Font folder don't appear in word dropdown options | Microsoft Word Help | |||
dropdown list | Microsoft Word Help | |||
How to set up a form checklist and dropdown options? | Page Layout | |||
Creating a dropdown list | Microsoft Word Help |