Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
printing out drop-down lists from a form
I have a form with many drop-down lists created. How can I print out the drop
down lists? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
printing out drop-down lists from a form
Run the following macro on exit from a formfield in the document (when the
document is protected). It will create a new document containing the entries from each drop down in the format Entries in DropDown [name of bookmark assigned to the dropdown formfield] Entry(1) Entry(2) etc. Dim ddff As FormField, target As Document, source As Document, i As Long Set source = ActiveDocument Set target = Documents.Add For Each ddff In source.FormFields If ddff.Type = wdFieldFormDropDown Then target.Range.InsertAfter "Entries in DropDown " & ddff.Name & vbCr For i = 1 To ddff.DropDown.ListEntries.Count ddff.DropDown.Value = i target.Range.InsertAfter ddff.result & vbCr Next i End If Next ddff -- 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 "chars" wrote in message ... I have a form with many drop-down lists created. How can I print out the drop down lists? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
merge letter with drop down form field | Mailmerge | |||
Form Drop Down Field problem | Microsoft Word Help | |||
Drop down lists and check boxes in a form | Microsoft Word Help | |||
Can I use a drop down in Word without having to lock the form? | Microsoft Word Help | |||
Drop down lists in Word 2000 | New Users |