Using the Drop Down List in Developer Tab

  • Thread starter Thread starter stckla
  • Start date Start date
S

stckla

Can I cut and paste a list into here to use as a drop down on a form? Or do I
have to type in each item separately? Also, I was limited to 25 items,(in
MS2003) is that the same in 2007?
 
With the Legacy FormField DropDown, you are still limited to 25 Entries,
though you can add them programmatically using vba code such as

Dim i As Long
With ActiveDocument
With .FormFields("DropDown1")
For i = 1 To 10
.DropDown.ListEntries.Add "Item" & i
Next i
End With
.Protect wdAllowOnlyFormFields
End With

Take a look at the following page of fellow MVP Greg Maxey's website for
tips on using the new Content Controls instead

http://gregmaxey.mvps.org/Mapped_Content_Control.htm

--
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, originally posted via msnews.microsoft.com
 
Back
Top