Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Detamstance Detamstance is offline
external usenet poster
 
Posts: 1
Default Is it possible to add text to an 'other' field in a drop down

Am creating a document with drop downs which have an 'other' choice. It is
possible to add text to the 'other' field?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Is it possible to add text to an 'other' field in a drop down

No. This requires a combo box, which is not available as a form field.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Detamstance" wrote in message
...
Am creating a document with drop downs which have an 'other' choice. It
is
possible to add text to the 'other' field?



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Is it possible to add text to an 'other' field in a drop down

To qualify Suzanne's reply - it is not possible without a macro. At its
simplest, the following will allow you to enter text if the choice is Other
(other, or OTHER)

Sub EnterYourOwn()
Dim oFld As FormFields
Set oFld = ActiveDocument.FormFields
Select Case UCase(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


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Detamstance wrote:
Am creating a document with drop downs which have an 'other' choice.
It is possible to add text to the 'other' field?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a drop-down text field longer? switchqueen Microsoft Word Help 1 March 18th 08 07:43 AM
Word 2000: Drop down form field options: Other leading to a Text F Pierre[_2_] Tables 0 December 9th 07 02:25 AM
Drop down form field added but nolist in drop down Roberta Microsoft Word Help 1 November 1st 06 03:54 PM
How to change text direction of drop down field in table? Lurch003 Tables 3 March 28th 06 08:42 PM
Word drop down field text wrapping Tim Adalid Microsoft Word Help 1 March 4th 05 05:28 PM


All times are GMT +1. The time now is 07:19 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"