![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have a public folder that any email that gets dropped into the
folder gets processed a variety of ways. I cannot get the addItem to fire. My code is below, no error just doesnt fire. Any ideas it is driving me crazy! Thanks John Public Sub Application_Startup() Dim myolApp As Outlook.Application Dim myNamespace As Outlook.NameSpace Dim AutoTBNTTop As Outlook.MAPIFolder Dim AutoTBNTFolder As Outlook.MAPIFolder Set myolApp = CreateObject("Outlook.Application") Set myNamespace = myolApp.GetNamespace("MAPI") Set AutoTBNTTop = myNamespace.GetDefaultFolder(olPublicFoldersAllPub licFolders) Set AutoTBNTFolder = AutoTBNTTop.Folders("FolderName") Set AutoItems = AutoTBNTFolder.Items End Sub Private Sub AutoItems_ItemAdd(ByVal Item As Object) ThanksButNoThanks End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Sync Public Folder Contacts with Personal Folder Contact Li | Larz | Outlook - Using Contacts | 0 | May 14th 07 08:22 PM |
Public Folder/Folder Assistant Forwarding email w/o original sender name | xtremluck | Outlook - General Queries | 2 | December 20th 06 09:57 PM |
Obtaining Folder Size in Public Folder Favourites | Kentucky | Outlook and VBA | 0 | September 7th 06 05:14 PM |
activate contact folder from public folder with "show this folder as email address book using a prf file | Frankie K. | Outlook - Using Contacts | 7 | July 25th 06 06:37 PM |
Mapi Folder Items ItemChange event is not firing | AtulSureka | Outlook and VBA | 3 | February 5th 06 07:25 PM |