• Drop Down Fields (Word 97)

    Author
    Topic
    #377149

    Can you extend the amount of characters you can add to each choice in
    a drop-down form field. We want to have a choice of different
    sentences rather than just individual words. If not – any ideas how
    we can do this?
    alien

    Viewing 1 reply thread
    Author
    Replies
    • #620410

      Carolyn,

      Through the DropDown Properties dialog box you can add upto 50 characters.

      If you need more than 50 characters, you will need to add them VIA VBA.

      This is the line of code I used to add the data to the Drop Down:

      doc.FormFields("Dropdown1").DropDown.ListEntries.Add "This is a really really " _
        & "really really really really relallyreally really really really really long " _
        & "sentence.This is a really really really really really really relallyreally " _
        & "really really really really long sentence."
      doc.Protect wdAllowOnlyFormFields

      As you can see, a Drop Down will take quite a lot of characters in VBA.

      HTH,

    • #620398

      (Edited by gwhitfield on 28-Sep-02 07:02. Hyperlinks added)

      I would use a userform – see here for more info:

      http://www.mvps.org/word/FAQs/Userforms/CreateAUserForm.htm%5B/url%5D

    Viewing 1 reply thread
    Reply To: Drop Down Fields (Word 97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: