Do you save the item again after adding to the Links collection?
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"yannickestrada" wrote in message
...
Sorry Sue, that was ocurring when I run the code in a VBA project.
My code looks like this:
Set myTask= Application.CreateItem(3)
myTask.Subject = "Subject"
myTask.DueDate = #17/09/2009#
myTask.Save
Item.Save
Set colLinks = myTask.Links
Set oLinks = colLinks.Add(Item)
Now the Add function isn“t the problem. I checked the colLinks count and
the
add is happening, but I never see the task in the Activities tab.
Thanks.