How to programmatically resolve names in CC field?

J

JJGurl

I created a form. I put a code to populate the Cc field depending on the item
selected in a combo box. I put the code under Function Send_Item. However, I
am encountering this "Operation failed" error, which is due to the delayed
resolution of the email address in the Cc field(the names are in the Global
Address List). I thought I should put some code in the Function Item_Send to
resolve names so as to avoid the delay and the error as well. I just don't
know what the right code is. Anyone can help me out on this?
 
D

Dave Miller

JJGurl,

Since I don't know if this is an Excel or Access form I will give you
an example of how I would do it in both:

Before I send email I insert this code:

excel:

***********************************
Application.Sendkeys "^K" , True

***********************************

Access:

***********************************
Sendkeys "^K" , True

***********************************

Dave
 
Top