Guild of Project Controls: Compendium | Roles | Assessment | Certifications | Membership

Tips on using this forum..

(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?

(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.

VBA

1 reply [Last post]
Marinus de Graaf
User offline. Last seen 12 years 37 weeks ago. Offline
Joined: 17 Aug 2011
Posts: 2
Groups: None

Hello planners,

 

I am using VBA in PowerProject (v 10.0.04) to import tasks and allocations from a csv-file. I am using SetUserStart and SetUserEnd (from the PermanentDemandAllocation class) to set the start- and enddate of the allocation, but I would also like to set the allocation percentage. But I can't find that specific member.

 

Does anyone know if it is possible to change the allocation percentage using VBA?

 

Thanks in advance!

 

 

Kind regards,

 

Marinus

Replies

Andrew Willard
User offline. Last seen 11 years 41 weeks ago. Offline
Joined: 9 Dec 2009
Posts: 35

Hi Marinus,

You can't progress a demnad allocation. The allocation needs to be of type permanentscheduledallocation. You can then set the effort percent complete

 

Regards

 

Andrew