J
Jack
I am attempting to move a custom post item from one folder
to another. I have tried to do this programmatically and
manually without success. When I attempt it via code (VB-
COM addin, see code below) it moves the item to the
deleted folder. When I try manually, it creates a new
default form (contact in this case) in the destination
folder and embeds the post. Both the source and
destination folders have the same forms published to them
and the same default forms (ipm.contact). Also, I can
create a new custom post on both folders without a problem.
Any ideas, please.....
VB Code:
Set oOl = gobjOutlook
For i = 1 To Application.ActiveExplorer.Selection.Count
Set oItem = Application.ActiveExplorer.Selection(i)
oItem.Move oOl.Session.GetDefaultFolder(olFolderContacts)
Next
to another. I have tried to do this programmatically and
manually without success. When I attempt it via code (VB-
COM addin, see code below) it moves the item to the
deleted folder. When I try manually, it creates a new
default form (contact in this case) in the destination
folder and embeds the post. Both the source and
destination folders have the same forms published to them
and the same default forms (ipm.contact). Also, I can
create a new custom post on both folders without a problem.
Any ideas, please.....
VB Code:
Set oOl = gobjOutlook
For i = 1 To Application.ActiveExplorer.Selection.Count
Set oItem = Application.ActiveExplorer.Selection(i)
oItem.Move oOl.Session.GetDefaultFolder(olFolderContacts)
Next