VBA code for setting Income value
In the Open Standard
Dariusz CMember for 7 years 10 months
- Created
- 1
- 3
0
Hi experts
I'm writing macro for Asta and hit the wall when I want to assign income value in task.
Below code finds Income Cost Centre assigned, but can't find a way to set value.
Dim t As TaskBase
Dim bcv As BarChartView
Dim ca As CostAllocation
Set bcv = ap.CurrentView
AllTasks = bcv.AllTaskBaseIds
For Each act In AllTasks
For i = 1 To t.Allocations.Count
Set ca = t.Allocations(i)
'here I need to set income value on this task
Next i
Next act
Thank you in advance for any hints!
Thank you in advance for any hints!
1 reply
Oldest firstLog in or join to reply
ProjectControls.com is free to join. Members can post questions, reply, vote and follow discussions.
Existing members: your original username and password still work. Forgot password?