daliman
01-31-2017, 01:13 AM
Hi,
I've been roaming the internet for a day now and have not been able to find my solution.
I like to move selected mail to a subfolder in a shared folder. (Both mail are in the same shared email box.)
What I found so far is the ability to get the sharedfolder with the code below.
I have not been able to implement this into a working piece of code.
(But my VBA knowledge is very limited, so that's probably the second problem...)
Does anyone have found a solution or can help me solve this problem?
'slipstick.com/developer/working-vba-nondefault-outlook-folders/
Dim NS As Outlook.NameSpace Dim objOwner As Outlook.Recipient
Set NS = Application.GetNamespace("MAPI")
Set objOwner = NS.CreateRecipient("Commerciele_Ondersteuning")
objOwner.Resolve
I've been roaming the internet for a day now and have not been able to find my solution.
I like to move selected mail to a subfolder in a shared folder. (Both mail are in the same shared email box.)
What I found so far is the ability to get the sharedfolder with the code below.
I have not been able to implement this into a working piece of code.
(But my VBA knowledge is very limited, so that's probably the second problem...)
Does anyone have found a solution or can help me solve this problem?
'slipstick.com/developer/working-vba-nondefault-outlook-folders/
Dim NS As Outlook.NameSpace Dim objOwner As Outlook.Recipient
Set NS = Application.GetNamespace("MAPI")
Set objOwner = NS.CreateRecipient("Commerciele_Ondersteuning")
objOwner.Resolve