J
Jim
I would like to be able to loop through each property of a task or resource
and print out the property name and value without having to directly name
each one. (Sort of as if it was a collection). Is this possible?
In other words, instead of
debug.print T.ActualFinish
debug.print T.ActualOvertimeCost
debug.print T.ActualStart
etc.
Could I some how just have a loop and iterate through each property without
knowing all their names??
Something like this:
For iTask = 1 To ActiveProject.Tasks.Count
Set T = ActiveProject.Tasks(iTask)
for each prop in T
debug.print T .Prop 'Obviously this does not exist!
next prop
next iTask
My guess is no but i thought I'd ask anyway.
thanks
and print out the property name and value without having to directly name
each one. (Sort of as if it was a collection). Is this possible?
In other words, instead of
debug.print T.ActualFinish
debug.print T.ActualOvertimeCost
debug.print T.ActualStart
etc.
Could I some how just have a loop and iterate through each property without
knowing all their names??
Something like this:
For iTask = 1 To ActiveProject.Tasks.Count
Set T = ActiveProject.Tasks(iTask)
for each prop in T
debug.print T .Prop 'Obviously this does not exist!
next prop
next iTask
My guess is no but i thought I'd ask anyway.
thanks