![]() |
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 can monitor specific Outlook folders via the AddItem event.
Private WithEvents objProjectItems As Items Private Sub Application_Startup() Dim objNS As NameSpace Set objNS = Application.GetNamespace("MAPI") Set objProjectItems = objNS.GetDefaultFolder (olFolderInbox).Folders.Item("Projects").Items Set objNS = Nothing End Sub Private Sub Application_Quit() Set objProjectItems = Nothing End Sub Private Sub objProjectItems_ItemAdd(ByVal Item As Object) MsgBox "You added an item to the Projects Folder", vbOKOnly End Sub Now I need to do this recursively any suggestions? |
Ads |
#2
|
|||
|
|||
![]()
"Wes Stahler" wrote in message
... I can monitor specific Outlook folders via the AddItem event. Programming questions should be asked in one of the programming groups, like microsoft.public.outlook.program_vba -- Brian Tillman [MVP-Outlook] |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recursively set Auto Archive settings on a sub folder | Tara H | Outlook and VBA | 2 | January 9th 09 11:18 AM |
Trying to loop through RDOFolders Recursively | Bill Benson | Outlook and VBA | 3 | September 24th 08 12:34 AM |
Recursively searching outlook folders | Magne | Outlook - General Queries | 0 | March 21st 07 04:22 PM |
Monitor Macro Running | Vadhimoo | Outlook and VBA | 2 | November 29th 06 06:13 AM |
How to recursively clear all the filters applied to a folder | Jean-Marc MOLINA | Outlook - General Queries | 1 | March 30th 06 03:05 PM |