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

[outlook2k3-vba] How to specify a specific contacts folder?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old July 25th 08, 07:37 AM posted to microsoft.public.outlook.program_vba
news.free.fr
external usenet poster
 
Posts: 6
Default [outlook2k3-vba] How to specify a specific contacts folder?

Dim WithEvents colCTSItems As Items

Private Sub Application_Startup()
Dim NS As Outlook.NameSpace
Set NS = Application.GetNamespace("MAPI")
Set colCTSItems = NS.GetDefaultFolder(olFolderContacts).Items

Hi,
I need to specify a contacts folder other than that by default. I do not
know how to make.


thanks

seb


 




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
Move email from specific folder (under the inbox) to a specific fo Emil Outlook and VBA 3 June 15th 08 06:23 PM
Outlook2k3 not autosending or downloading jmillerWV Outlook - Installation 1 June 19th 07 02:23 PM
How Can I change the Default Calendar in Outlook2k3? Joecool Outlook - Calandaring 2 July 21st 06 10:15 PM
Please help me to add my contacts from emails to specific contact folder [email protected] Outlook - Using Contacts 1 June 28th 06 02:09 PM
Please help me to add my contacts from emails to specific contact folder [email protected] Outlook - Using Contacts 0 June 28th 06 01:47 PM


All times are GMT +1. The time now is 12:49 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.