#1   Report Post  
Posted to microsoft.public.word.docmanagement
Ryan''s Girl Ryan''s Girl is offline
external usenet poster
 
Posts: 3
Default Can I do this in Word

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?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Can I do this in Word

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...ba.userform s
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.


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Ryan''s Girl Ryan''s Girl is offline
external usenet poster
 
Posts: 3
Default Can I do this in Word

I have already created a protected form is that were I start or do I have to
create a different template?

"Jay Freedman" wrote:

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...ba.userform s
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.



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Can I do this in Word

You can start with the protected form you already have, and add the userform
to it. It may not be clear unless you've read the article I mentioned, but a
"userform" in Word-speak is a custom dialog that pops up over the document.
The user chooses the state they want and clicks the OK button. The dialog
disappears and the result -- the name of the carrier for that state -- is
put into a form field on the protected form.

Ryan''s Girl wrote:
I have already created a protected form is that were I start or do I
have to create a different template?

"Jay Freedman" wrote:

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...ba.userform s
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.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:40 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"