!

readicculus
06-18-2003, 12:58 PM
Hello,

I am trying to create a new Journal Item in a public folder using VBScript in an Outlook 2000/Exchange 2000 enviroment. I get the Journal Item to create, but it defaults it to the Default Journal Folder in the Personal Folders.

This code is part of a custom contact form. The form will eventually link its information to the Journal Item.

This is what I have:

Sub CommandButton1_Click
Application.GetNamespace("MAPI").Folders("Public Folders").Folders("All Public Folders").Folders("CRM").Folders("Incoming Phone Calls").Folders("Incident Reports")

Application.CreateItem(4).Display

End Sub


The first action selects the folder (Thats all it does)

The CreateItem creates the journal Item in a personal folder... How do I get it to create a journal item in the Public Folder specified?


Thanks!

Wamphyri
06-18-2003, 03:02 PM
CreateItem only creates default Outlook items. You need to use the add method of the Items collection (of your public folder).

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum