Microsoft Office Forums Find summary level

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2011, 09:08 AM
AndreT AndreT is offline Find summary level Windows XP Find summary level Office 2000
Novice
Find summary level
 
Join Date: Jan 2011
Location: So. Ca
Posts: 7
AndreT is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 08-05-2011, 01:01 PM
RMarsh RMarsh is offline Find summary level Windows XP Find summary level Office 2003
Novice
 
Join Date: Jul 2011
Posts: 3
RMarsh is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 08-05-2011, 09:56 PM
AndreT AndreT is offline Find summary level Windows XP Find summary level Office 2000
Novice
Find summary level
 
Join Date: Jan 2011
Location: So. Ca
Posts: 7
AndreT is on a distinguished road
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find summary level The text in the two columns are not in the same level!!!! why? Jamal NUMAN Word 22 10-18-2011 09:00 AM
Find summary level How do I get a summary sentence for each paragraph shown in outline view the_aj Word 1 08-05-2011 12:27 PM
Find summary level Headings + Multi-level list falieson Word 1 06-18-2010 12:01 AM
Find summary level Summary width marcofano Word 1 04-29-2010 04:32 AM
Summary Page Greenr81 Word 0 01-26-2010 12:08 PM


All times are GMT -7. The time now is 09:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft