danmeljeff
Technical User
Hi All,
I'm trying to figure out how to use the click event, so that when a checkbox is clicked, it'll add an email address to the recipient field of my message form.
I'm using Outlook 2003.
I would like to have 3 checkboxes, and each one will represent a department to email within my company. If the first checkbox is ticked, I'd like the corresponding email distribution list (the checkbox's caption) to be added to the recipient field. When unchecked, it'd be removed from the recipient field. I'd like this sort of functionality to work for all possible combinatin of checkboxes ticked. Another thing to consider is how to ensure the ";" is between each email distribution list if multiple checkboxes are ticked.
I've written some excel vba code, but am having difficulties with the outlook vba code.
Any help would be appreciated. And if you need further info, please let me know.
Thank you.
I'm trying to figure out how to use the click event, so that when a checkbox is clicked, it'll add an email address to the recipient field of my message form.
I'm using Outlook 2003.
I would like to have 3 checkboxes, and each one will represent a department to email within my company. If the first checkbox is ticked, I'd like the corresponding email distribution list (the checkbox's caption) to be added to the recipient field. When unchecked, it'd be removed from the recipient field. I'd like this sort of functionality to work for all possible combinatin of checkboxes ticked. Another thing to consider is how to ensure the ";" is between each email distribution list if multiple checkboxes are ticked.
I've written some excel vba code, but am having difficulties with the outlook vba code.
Any help would be appreciated. And if you need further info, please let me know.
Thank you.