Convert or Copy Recipients to contacts

J

José Miguel

Hi Guys,

How can I convert Recipients to Contacts with VBScript in a custom task
form?
I need to move or copy typed contacts from Global Address List to Contacts
Field because i wan't to send this TaskItem, but i need use contacts from my
personal contant list as contacts from G.A.L.

Thanks!
 
S

Sue Mosher [MVP-Outlook]

Can you explain the concept in your last sentence in a little more detail, please? I'm having a hard time understanding what you're trying to do.
 
J

José Miguel

Hi Sue,
I need to convert names from Exchange Global Address Lists to names in
"Contacts" field in a custom Task form.


"Sue Mosher [MVP-Outlook]" <[email protected]> escribió en el mensaje
Can you explain the concept in your last sentence in a little more detail,
please? I'm having a hard time understanding what you're trying to do.
 
S

Sue Mosher [MVP-Outlook]

You would first need to create a ContactItem (Application.CreateItem) and populate its properties with information from the GAL entry. You can then use the TaskItem.Links.Add method to add a link to the task pointing to the desired contact.

The details will depend on *which* GAL entry(ies) you're talking about, what properties you want to include on the contact record, and the version of Outlook, if you want to avoid security prompts.
--
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