Re: Trouble with win32com and MS Project

2005-10-19 Thread Felix Collins
Felix Collins wrote: > Hi, > > I'm trying to assign a resource to a task in MS Project by using the > example from MSDN for VB... > > > "Use the Add method to add an Assignment object to the Assignments > collection. The following example adds a resource identified by the > number of 212 as a

Re: Trouble with win32com and MS Project

2005-10-19 Thread Do Re Mi chel La Si Do
Hi ! The parameter (ResourceID=2) is problematic Try : proj.Tasks(3).Assignments.Add(2) @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Trouble with win32com and MS Project

2005-10-19 Thread Felix Collins
Hi, I'm trying to assign a resource to a task in MS Project by using the example from MSDN for VB... "Use the Add method to add an Assignment object to the Assignments collection. The following example adds a resource identified by the number of 212 as a new assignment for the specified task.