M
Michael Hansen
Hello
I originally posted this on the microsoft.public.project discussion, but was
informed that it would be best here.
I want to separate out travel related expenses (material) from service
related costs (work) from software vendors.
Each task will consist of resources mostly of type work. But when travel is
required of those work resources there are multiple material resources
(expenses) to deal with these costs (e.g., flights, taxi, hotel, meals).
I have added a new Travel Cost column and thought I could use the "iff"
statement to extract the cost as a material cost. However, the problem is
that mulitple material resource costs are assigned to the task (e.g., flight,
taxi, hotel, meals) which I want to be able to accumulate into the new Travel
Cost column for the task.
I think I need to be able to loop through the tasks resources (work and
material) and accumulate the costs associated to only the material resources.
Could someone please advise of the best way to deal with this scenario to
accumulate all the material costs associated to a task into the new Travel
Cost column.
I am not overly familiar with VBA, so if someone has a starting point for me
that would be much appreciated.
Regards
Michael
I originally posted this on the microsoft.public.project discussion, but was
informed that it would be best here.
I want to separate out travel related expenses (material) from service
related costs (work) from software vendors.
Each task will consist of resources mostly of type work. But when travel is
required of those work resources there are multiple material resources
(expenses) to deal with these costs (e.g., flights, taxi, hotel, meals).
I have added a new Travel Cost column and thought I could use the "iff"
statement to extract the cost as a material cost. However, the problem is
that mulitple material resource costs are assigned to the task (e.g., flight,
taxi, hotel, meals) which I want to be able to accumulate into the new Travel
Cost column for the task.
I think I need to be able to loop through the tasks resources (work and
material) and accumulate the costs associated to only the material resources.
Could someone please advise of the best way to deal with this scenario to
accumulate all the material costs associated to a task into the new Travel
Cost column.
I am not overly familiar with VBA, so if someone has a starting point for me
that would be much appreciated.
Regards
Michael