C
Clueless
I have a custom Outlook 2007 form that I need help with writing code to
perform the following.
I have two Drop Down boxes: Box 1. person - responsibility Box 2. location
- person
When a certain person is selected in the 1st. Box I want the person's name
to automatically load as a recipient of the email. I would also like to be
able to add an additional name as a recipients to the same email when Box 2.
Has a location and person selected. I use the following code to fill in a
recipient based on a click event but I am not sure how to do an event based
on the value in a drop down box
Sub CommandButton2_Click()
Recipients.Add "Doe, John"
Recipients.ResolveAll
Recipients.Add "Smith, Bill"
Recipients.ResolveAll
End Sub
Thanks In advance
perform the following.
I have two Drop Down boxes: Box 1. person - responsibility Box 2. location
- person
When a certain person is selected in the 1st. Box I want the person's name
to automatically load as a recipient of the email. I would also like to be
able to add an additional name as a recipients to the same email when Box 2.
Has a location and person selected. I use the following code to fill in a
recipient based on a click event but I am not sure how to do an event based
on the value in a drop down box
Sub CommandButton2_Click()
Recipients.Add "Doe, John"
Recipients.ResolveAll
Recipients.Add "Smith, Bill"
Recipients.ResolveAll
End Sub
Thanks In advance