S
Slava
Hi,
Im trying to move message from incoming folder to the specific folder,
but without effect ((
objInboxItems_ItemAdd(ByVal Item As Object)
Dim NS As NameSpace
Dim myInbox As MAPIFolder
Dim desFld As Outlook.MAPIFolder
Set NS = Application.Session
Set myInbox = NS.GetDefaultFolder(olFolderInbox)
Set desFld = myInbox.Folders("ABCD")
Item.Move desFld
but nothing is done ((
/when I set a MsgBox - the message is displayed./
what is wrong ?
sincerely
slava
Im trying to move message from incoming folder to the specific folder,
but without effect ((
objInboxItems_ItemAdd(ByVal Item As Object)
Dim NS As NameSpace
Dim myInbox As MAPIFolder
Dim desFld As Outlook.MAPIFolder
Set NS = Application.Session
Set myInbox = NS.GetDefaultFolder(olFolderInbox)
Set desFld = myInbox.Folders("ABCD")
Item.Move desFld
but nothing is done ((
/when I set a MsgBox - the message is displayed./
what is wrong ?
sincerely
slava