how can I copy and paste text in to a drop down form field

J

Jeff Leggett

after creating a drop down form field I am able to insert text by typing &
adding however I would like to paste text in as some of the text is rather
long - I am unable to do this - any help would be much appreciated - thanks
Jefff
 
D

Doug Robbins - Word MVP

Assuming that you are talking about adding Drop-down items in the Drop-Down
Form Field Options dialog, you can either right click when you have the
select in the Drop-down item control or use Ctrl+V and the data that you
have copied to the clipboard will be inserted into the control.

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

Graham Mayor

You can paste them all into a macro and run the macro to populate the field
e.g. for Dropdown1

Sub PopulateDD1()
Dim oDD As DropDown
Set oDD = ActiveDocument.FormFields("DropDown1").DropDown
With oDD.ListEntries
.Add "Apples"
.Add "Apricots"
.Add "Artichokes"
End With
End Sub

Nore there is a limit of 25 entries to a dropdown field.
http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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