Extract/ Identify Project Summary Level

M

Mike

Hello,

I am trying to pull the PercentComplete and various dates for the first row
(overall project summary line) in numerous project plans, I am having trouble
identifying this Row 0 (or Row 1) in some cases. Is there an easy way to do
this?

Thanks.
 
G

GMarquez

'For Project Summary Task, you must to use:

MSProject.ActiveProject.ProjectSummaryTask

'For a common Summary task, you could use:

Dim tTarea As MSProject.Task, _
intSearchedLevelIndentation As Integer

intSearchedLevelIndentation = 1
For Each tTarea In MSProject.ActiveProject.Tasks
If tTarea.Summary _
And tTarea.OutlineLevel = intSearchedLevelIndentation Then
'Your code here
End If
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top