PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming How to automate contact selection

Reply

How to automate contact selection

 
Thread Tools Rate Thread
Old 04-11-2005, 03:40 PM   #1
jpottsx1@gmail.com
Guest
 
Posts: n/a
Default How to automate contact selection


I am new to Outlook programming,and I am finding it hard to locate a
good answer on how do I programmatically select entries from the
address book and move them into the "Resources" box in the "Select
Attendees and Resources" dialog box.

I use the same resources each time a book a meeting, and would like a
way of pre-populating those resources into the "Resources" field.

Jeff

  Reply With Quote
Old 04-11-2005, 07:50 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: How to automate contact selection

Whenever an appointment is created and displayed (e.g in the
Application.Inspectors.NewInspector event), call

set Recip = Appointment.Recipients.Add("name of the resource")
Recip.Type = olBCC

for each resource.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

<jpottsx1@gmail.com> wrote in message
news:1131115256.357130.129320@g47g2000cwa.googlegroups.com...
>I am new to Outlook programming,and I am finding it hard to locate a
> good answer on how do I programmatically select entries from the
> address book and move them into the "Resources" box in the "Select
> Attendees and Resources" dialog box.
>
> I use the same resources each time a book a meeting, and would like a
> way of pre-populating those resources into the "Resources" field.
>
> Jeff
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off