Using the Drop Down List in Developer Tab

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?
 
D

Doug Robbins - Word MVP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top