A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

select folder as addressbook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 9th 09, 05:54 PM posted to microsoft.public.outlook.program_vba
Günther
external usenet poster
 
Posts: 1
Default select folder as addressbook

Hello,

I wrote a macro to create a subfolder in contacts and import some company
addresses. This works fine. Now the user has to check this folder for using
as addressbook.

As I know that this is a big problem for the most of our users i want to do
this by the vba-makro. I found what happens when I set the flag manually (new
item in addresslists) but I fount no way to create this item by vba.

Is anyone in to give some help?

Thanks in advance

Guenther
Ads
  #2  
Old April 9th 09, 06:16 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default select folder as addressbook

Take a look at the MAPIFolder.ShowAsOutlookAB property (Boolean).

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Günther" wrote in message
...
Hello,

I wrote a macro to create a subfolder in contacts and import some company
addresses. This works fine. Now the user has to check this folder for
using
as addressbook.

As I know that this is a big problem for the most of our users i want to
do
this by the vba-makro. I found what happens when I set the flag manually
(new
item in addresslists) but I fount no way to create this item by vba.

Is anyone in to give some help?

Thanks in advance

Guenther



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No entries in addressbook under distribution list select members? Chip Outlook - Using Contacts 17 April 28th 09 02:59 PM
Select a folder in Outlook (in code) Koen Verwimp Add-ins for Outlook 2 April 1st 09 03:14 PM
Can not select a contacts folder. Why? Charles Brown Outlook - Using Contacts 1 November 6th 08 10:32 PM
Show This Folder As An E-mail Addressbook Diamonds_Mine Outlook - Using Contacts 1 May 23rd 06 09:52 PM
how to display a form for the user to select a list of contacts from the addressbook LeAnne Outlook - General Queries 0 January 8th 06 12:55 PM


All times are GMT +1. The time now is 02:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.