I have a form in word with a drop down field. I have a submit button
at
the bottom of the form and I want the form to email as an attachment
using code to determine the email address. The code in the "submit"
button should reference the drop down field to determine the
recipient.


For example:


If the dropdown = "service", then email joe@abccompany.com
If the dropdown = "sales", then email mary@abccompany.com
If the dropdown = "billing", then email john@abccompany.com


Can this be done? I have other forms that mail to a specified address
as an attachemnt, but do not know how to have a field refernced like
this. Please help.....


Thanks-


Scott

RE: email form based on drop down value by gordon(dot)bentleymix(at)gmail(dot)com>

gordon(dot)bentleymix(at)gmail(dot)com>
Tue Sep 16 21:01:02 PDT 2008

Post your "Submit" code and we'll see what we can come up with...
--
Cheers!
Gordon

Uninvited email contact will be marked as SPAM and ignored. Please post all
follow-ups to the newsgroup.


"Sabosis" wrote:

> I have a form in word with a drop down field. I have a submit button
> at
> the bottom of the form and I want the form to email as an attachment
> using code to determine the email address. The code in the "submit"
> button should reference the drop down field to determine the
> recipient.
>
>
> For example:
>
>
> If the dropdown = "service", then email joe@abccompany.com
> If the dropdown = "sales", then email mary@abccompany.com
> If the dropdown = "billing", then email john@abccompany.com
>
>
> Can this be done? I have other forms that mail to a specified address
> as an attachemnt, but do not know how to have a field refernced like
> this. Please help.....
>
>
> Thanks-
>
>
> Scott
>
>
>

Re: email form based on drop down value by Doug

Doug
Tue Sep 16 21:42:22 PDT 2008

An answer was provided on 14 September to your identical question that was
posted to the microsoft.public.word.programming newsgroup on 13 September.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Sabosis" <scott.sabo@henryschein.com> wrote in message
news:6f45a6fe-41f3-4c2b-9a39-12d577ab9af3@25g2000hsx.googlegroups.com...
>I have a form in word with a drop down field. I have a submit button
> at
> the bottom of the form and I want the form to email as an attachment
> using code to determine the email address. The code in the "submit"
> button should reference the drop down field to determine the
> recipient.
>
>
> For example:
>
>
> If the dropdown = "service", then email joe@abccompany.com
> If the dropdown = "sales", then email mary@abccompany.com
> If the dropdown = "billing", then email john@abccompany.com
>
>
> Can this be done? I have other forms that mail to a specified address
> as an attachemnt, but do not know how to have a field refernced like
> this. Please help.....
>
>
> Thanks-
>
>
> Scott
>
>