That is because The task object has no such property or method. You want Name or Description.
Try using the object browser in the MS Office Macro
VB Editor or in VS6 to look at the various members available on the objects. Additionally the object model is documented in the online docs:
http://msdn.microsoft.com/library/de...papps_0jsd.asp
http://msdn.microsoft.com/library/de...thobj_9nhw.asp
Additionally, I am nost certain what you are trying to accomplish by calling the function called msg? There is no such function defined in VBScript. There is a MsgBox, but you only use that for Debugging a DTS package, since it halts the execution of the package.
David Lundell
Principal Consultant and Trainer
www.mutuallybeneficial.com