Programatically, remove and email address from the TO field

D

DaveH

I have a custom Outlook Form. At times an email address is automatically posted in the TO field, but there are times when the user makes a mistake, and I need to be able to remove the address posted in there if a combo box is changed. Is there an easy way to clear this field
Outlook 2000 is the version
Thanks
Dave H
 
S

Sue Mosher [MVP-Outlook]

You would need to locate the address in the Recipients collection and remove
it.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



DaveH said:
I have a custom Outlook Form. At times an email address is automatically
posted in the TO field, but there are times when the user makes a mistake,
and I need to be able to remove the address posted in there if a combo box
is changed. Is there an easy way to clear this field?
 
D

Dave Hauer

That can be done at the form level, I assume, in the custom form in VB
script?
Thanks
DH
 
S

Sue Mosher [MVP-Outlook]

Exactly. You just have to decide which event to use.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
D

Dave Hauer

Thanks for your assistance!!!
DH
Sue Mosher said:
Exactly. You just have to decide which event to use.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top