repeating drop down box

G

Guest

I am designing a form with multiple drop down fields with the same options.
Is there a way to copy the original drop down field to use multiple times or
must I design each of the identical drop down fields separately?
 
G

Graham Mayor

Insert the field, add the dropdown options, then copy and paste. The pasted
fields will not have a bookmark name as bookmarks must be unique. so must be
edited to add names.

This is only a sensible option of the dropdowns are intended to produce
different results. If the result of one depends on another, you should
insert the result by macro - see
http://gregmaxey.mvps.org/Repeating_Data.htm

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Guest

You may also find the AutoTextList field useful. That way you can edit the
content of all such lists by editing the AutoText in the supporting template.

Bear
 
G

Guest

Thank you so much. This worked perfectly! Once the form is complete and
secured, is there a way for users to easily "clear the form" to clear all
choices made so the form can be reused for another episode or situation?
 
G

Guest

May I ask one other question? Can you insert a scanned item into a drop down
box? For example, can I scan in signatures, and put the various sigs into a
drop down box?
 
G

Graham Mayor

Add a blank entry to the start of each dropdown field comprising (say) ten
spaces.
The following macro will set each drop down field to the 10 spaces and the
rest of the form fields to zero.
Note however if you save the uncompleted form field as a template new form
documents created from it will already have the default start settings.


Sub ClearForm()
Dim oFld As FormFields
Set oFld = ActiveDocument.FormFields
For i = 1 To oFld.Count
If oFld(i).Type = wdFieldFormDropDown Then
oFld(i).Result = " "
Else
oFld(i).Result = ""
End If
Next
End Sub

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Guest

OK, I am having trouble with the AutoTextList function. Can an AutoTextList
be included with a form that has drop down boxes and checkboxes? Is there a
mini course you can recommend to help me work this out? Remembering I am a
true novice
 
S

Suzanne S. Barnhill

An AutoTextList field could not be used in a protected section of a
protected form. It might be possible to use it in an unprotected section.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Khardy3352 said:
OK, I am having trouble with the AutoTextList function. Can an AutoTextList
be included with a form that has drop down boxes and checkboxes? Is there a
mini course you can recommend to help me work this out? Remembering I am a
true novice
 

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