Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting MAPIfolder properties in Outlook's VBA

Posted on 2002-05-16
4
Medium Priority
?
857 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 400 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

782 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