Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
angie angie is offline
external usenet poster
 
Posts: 45
Default How do you leave a blank space in drop down field?

I need to know how to leave a blank space in a drop down field so that when
protecting the document, someone could write it in if they are not in the
drop down list?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default How do you leave a blank space in drop down field?

You can create a "blank" entry in the dropdown field by creating one entry
that's just a single space, but this will not allow users to add their own
text. For this you need a combo box, which is not available as a form field.

--
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.

"Angie" wrote in message
news
I need to know how to leave a blank space in a drop down field so that

when
protecting the document, someone could write it in if they are not in the
drop down list?


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How do you leave a blank space in drop down field?

While Suzanne's reply is correct you could use vba to allow a user to add
text eg
If you enter a list item (say) "Enter your own", you could use the following
macro run on exit from the dropdown field (here the default Dropdown1) which
will add the user's entry to the list when 'Enter your own' is chosen

Sub EnterYourOwn()
Dim oFld As FormFields
Set oFld = ActiveDocument.FormFields
Select Case oFld("Dropdown1").Result
Case Is = "Enter your own"
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




Angie wrote:
I need to know how to leave a blank space in a drop down field so
that when protecting the document, someone could write it in if they
are not in the drop down list?



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 you leave a blank space in drop down field? Angie Microsoft Word Help 0 October 19th 07 03:33 PM
Drop Down Field - character space Miss Ricketts Tables 1 September 20th 07 08:28 PM
Drop-down with blank space cleo Microsoft Word Help 1 November 10th 05 11:50 PM
Supress the blank space from a blank data field? John Mailmerge 3 September 20th 05 04:31 PM
How do I add a space in a line if a merge field is blank? S Cocke Mailmerge 4 February 11th 05 11:13 PM


All times are GMT +1. The time now is 08:26 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"