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 » Search Forums
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Showing results 1 to 6 of 6
Search took 0.10 seconds.
Search: Posts made by: news.free.fr
Forum: Outlook and VBA July 28th 08, 10:13 PM Posted to microsoft.public.outlook.program_vba
Replies: 8
Views: 2,334
Posted By news.free.fr
[outlook2k3-vba] How to specify a specific contacts folder?

Yes, the case is not a subfolder of contact folder by default.

Now, I try to test if the file exists and create it if it does not exist.


"Ken Slovak - [MVP - Outlook]" a écrit...
Forum: Outlook and VBA July 27th 08, 09:41 PM Posted to microsoft.public.outlook.program_vba
Replies: 8
Views: 2,334
Posted By news.free.fr
[outlook2k3-vba] How to specify a specific contacts folder?

Hi,

I found the solution

Set NS = Application.GetNamespace("MAPI")
Set oFolder = NS.Folders("LastName Firstname").Folders("NF_contacts")
Set colCTSItems = oFolder.Items
Forum: Outlook and VBA July 27th 08, 11:11 AM Posted to microsoft.public.outlook.program_vba
Replies: 8
Views: 2,334
Posted By news.free.fr
[outlook2k3-vba] How to specify a specific contacts folder?

I have this error :

Operation cannot carry out. Am not possible carry one out to find an object.
Error of execution '-2147221233 (8004010f)

when i use :

Dim oFolder As Outlook.MAPIFolder
...
Forum: Outlook and VBA July 25th 08, 07:37 AM Posted to microsoft.public.outlook.program_vba
Replies: 8
Views: 2,334
Posted By news.free.fr
[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 =...
Forum: Outlook - General Queries July 1st 08, 01:37 PM Posted to microsoft.public.outlook
Replies: 2
Views: 330
Posted By news.free.fr
OTLK2K3-VBA : Application_ItemLoad.

oups,
I forgot to say hello.

;-)


"news.free.fr" a écrit dans le message de news:
...
In outlook2007, there is Application_ItemLoad.
Forum: Outlook - General Queries July 1st 08, 01:32 PM Posted to microsoft.public.outlook
Replies: 2
Views: 330
Posted By news.free.fr
OTLK2K3-VBA : Application_ItemLoad.

In outlook2007, there is Application_ItemLoad.

Is there an equivalent for outlook2003 ?

I need to execute a code to establish a contact.

Thank you in advance.

seb
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT +1. The time now is 01:50 AM.


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.