Moving a Custom Form from folder to folder in Outlook 2007
I have a task form that I move from folder to folder in Outlook public
folders.
Basically when you save and close it should move to the folder above it.
This worked fine before with Outlook 2000/2003. Using the code:
Sub Item_Close
oTask.Move oFolder
End Sub
Now in 2007 it doesn't do anything.
I've also tried changing it so that it copies the form, then moves the copy:
Sub Item_Close
Set ocTask = oTask.Copy
ocTask.Move oFolder
End Sub
This creates the new task, however none of the custom fields come over with
it for whatever reason.
Does anyone have any suggestions?
Thanks,
|