Re: how do I increase the field size in a drop down box
- From: "Greg Maxey" <gmaxey@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Apr 2006 22:44:14 -0400
Something like this to run on exit from the dropdown:
Sub ExpandField()
Dim oFrmFld As FormFields
Set oFrmFld = Selection.FormFields
Select Case oFrmFld(1).Result
Case Is = "Bill"
oFrmFld(1).Result = "Bill Jones, 101 Miller Street"
Case Is = "Bob"
oFrmFld(1).Result = "Bob Smith, 57 East Maple Ave."
Case Else
End Select
End Sub
--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
cproperasb wrote:
In my drop down box will be a list of names. When a name is
selected, I want the form to fill in additional information that is
hard coded, such as phone number, fax number and e-mail address for
that particular name. How can I do this?
.
- Prev by Date: Re: How do I create a web page in Word?
- Next by Date: Re: How do I apply a different font to a cross reference?
- Previous by thread: Re: How do I create a web page in Word?
- Next by thread: Re: how do I increase the field size in a drop down box
- Index(es):
Relevant Pages
|