HOW DO I COUNT TASKS IN MS PROJECT

B

BigZ

Is there a simple way to count tasks in my project? e.g. I am filtering on a
certain field; in addition to seeing the filtered tasks I would like to know
how many tasks were pulled out. Thank you very much.
 
J

Jack Dahlgren

Sub countactive()
SelectAll
MsgBox ActiveSelection.Tasks.Count
End Sub

Shows how many tasks are in your filtered results.
You can use activeproject.tasks.count to get the total count and then
subtract to find how many were filtered.
 

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