Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Jun 2001
    Location
    Bethlehem, Pennsylvania, USA
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word 2002 (dropdown list/email)

    I have a document that are using fields. One of the field is a dropdown box. What I like to do is to have this document set up a email based on what the user picks. (ie If the user pick Item1 on the dropdown list it opens an email with address1 , item2 -> address2 etc.)

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word 2002 (dropdown list/email)

    Do you mean a dropdown box from the Forms toolbar? Let's say it is named Dropdown1. Create the following macro in a module in the Visual Basic Editor:

    Sub CreateMail()
    ActiveDocument.FollowHyperlink "mailto:" & _
    ActiveDocument.FormFields("Dropdown1").Result
    End Sub

    Unprotect the document.
    Double click the dropdown form field.
    Select CreateMail in the Run macro on > Exit box.
    Click OK.
    Protect the document again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •