The only way I can think of doing it is to capture the outlinnumber of the selected task, find the last decimal, truncate from that point on. That will be the outlinenumber of the summary. You can then loop through all the tasks and find the one with that outlinenumber.
|