Calculate amount of filtered tasks.

F

Fred Sjoo

Hi,

I am missing(can't find) the most fundamental function in
Project that summeries the amount of tasks for current
filter?

I just want to do simple a thing as amount of tasks
started within date range for example.

Thanks,
Fredrik
 
J

Jan De Messemaeker

Hi Fred,

It does not exist.
Following Macro will do the trick.

Do the following:
Alt+F11
In the left upper window, click ProjectGlobal
Insert, Module
Below Project Global, double-Click Module1 (or the highest numnber if there
are more ModuleN modules)
Paste the text below
Close the VBE window
Tools, Macro, Macros, select Count_Filtered

'----------------------------------------
Sub Count_Filtered
dim nbrt as integer
selectall
nbrt=activeselection.tasks.count
msgbox "Tasks Filtered: " & cstr(nbrt)
end sub
'------------------------------------------

HTH
 
S

Steve House

"Amount" as in the number of tasks or what? Just what values are you trying
to summarize?
 

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