Solved

Setting MAPIfolder properties in Outlook's VBA

Posted on 2002-05-16
4
825 Views
Last Modified: 2007-12-19
I'm trying to set a CONTACTS folder property : "show folder as an email address book". This can easily be done manualy in the folder's properties, under the "Outlook Address Book" tab. I could not find a way to do it in an Outlook 2000 VBA macro.

Please help !

Thanks in advance,

EFontaine
0
Comment
Question by:efontaine
  • 2
4 Comments
 
LVL 8

Expert Comment

by:jessnjeff
ID: 7014905
Dim onMAPI As NameSpace

Dim oFolder As MAPIFolder

Set onMAPI = Application.GetNamespace("MAPI")
Set oFolder = onMAPI.GetDefaultFolder(olFolderContacts)
oFolder.ShowAsOutlookAB = True
0
 

Author Comment

by:efontaine
ID: 7014954

Too good to be true!

This feature is available in outlook 2002

As I said initialy, we're using outlook 2000

Is there any other way I can do this ?

Thanks

EFontaine
0
 
LVL 8

Expert Comment

by:jessnjeff
ID: 7015019
ouch--sorry!

0
 
LVL 16

Accepted Solution

by:
Neo_mvps earned 100 total points
ID: 7016017
No.  There are no methods/properties in the Outlook 2000 or Collaboration Data Objects com libraries that will allow you to mark a contact folder for use as an address book.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Find out how to use dynamic social media in email signatures with this top 10 DOs & DON’Ts.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now