Advertisement

07.24.2007 at 10:45PM PDT, ID: 22719036
[x]
Attachment Details

Access VBA code for Outlook Object Library - look up name & manager

Asked by MrLogin in Access Coding/Macros, Outlook Groupware Software

Tags: vba, outlook, access

Using Microsoft Acess 2003, VBA coding on Windows XP Professional with Microsoft Outlook 11.0 Object Library.

Trying to find the VBA code to (1) look up a person's name in the address book (2) look up the person's manager as I wish to CC the manager.    

Started with:

  Dim MyOutlook As Outlook.Application
  Dim MyMail As Outlook.MailItem
  Dim MyRecipient As Outlook.Recipient
  Dim MyAddressList As Outlook.AddressLists
  Dim MyAddressEntry As Outlook.AddressEntry
 
  Set MyOutlook = New Outlook.Application
  Set MyMail = MyOutlook.CreateItem(olMailItem)

ThanksStart Free Trial
[+][-]07.25.2007 at 12:00AM PDT, ID: 19563193

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Outlook Groupware Software
Tags: vba, outlook, access
Sign Up Now!
Solution Provided By: chris_bottomley
Participating Experts: 1
Solution Grade: B
 
 
[+][-]07.25.2007 at 04:47PM PDT, ID: 19570857

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32