Ryan''s Girl wrote:
> I am creating a bill of lading for our company and would like a drop
> down list to display all the states. Next to the states abbreviations
> I would like to have the carrier we would use....example.....
> AL - ABF Freight Systems
> DE -Ward Trucking
> IL - Dayton Freight
> ect.
> The problem is I only need the name of the trucking company to
> display not the state. Can I do this in Word?
The easiest solution for this is to set up an AutoTextList field. See
http://www.word.mvps.org/FAQs/TblsFl...toTextList.htm.
If you're using a protected form with form fields, that won't work. If you
have to include all 50 states, a dropdown form field won't work either,
because it's limited to a maximum of 25 entries. The remaining choice in
that case is to create a userform
(
http://www.word.mvps.org/FAQs/Userfo...eAUserForm.htm) that contains
a list box, place a text form field in the document to receive the carrier's
name, and set the macro that displays the userform to be the Entrance macro
of the text form field. It's fairly complicated to set up if you don't have
programming experience, but if you need this kind of thing, visit
http://www.microsoft.com/communities....vba.userforms
for help.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.