#1
|
|||
|
|||
Find summary level
Bsed on ActiveSelection.Tasks, I've identified a task, what is the quickest way to programmatcally find its summary level of this task and get its attributes?
Thanks for your advice in advance. |
#2
|
|||
|
|||
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.
|
#3
|
|||
|
|||
Hi,
Someone else suggested this: Activeselection.tasks(1).outlineparent for the summary task, and Activeselection.tasks(1).outlinelevel for the summary level. Works like a charm. Hope that helps. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The text in the two columns are not in the same level!!!! why? | Jamal NUMAN | Word | 22 | 10-18-2011 09:00 AM |
How do I get a summary sentence for each paragraph shown in outline view | the_aj | Word | 1 | 08-05-2011 12:27 PM |
Headings + Multi-level list | falieson | Word | 1 | 06-18-2010 12:01 AM |
Summary width | marcofano | Word | 1 | 04-29-2010 04:32 AM |
Summary Page | Greenr81 | Word | 0 | 01-26-2010 12:08 PM |