Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

VBA Project Export Resource data vith TimeScaleData ON FILTERED TASK

$
0
0
Hello,

I have been using the common code you can find at the following website to export resources data using the TimeScaleData function :

http://zo-d.com/blog/archives/programming/analyze-microsoft-project-resource-usage-data-in-excel.html

It works fine. Now, I need to do the same export but at the same time, I need to filter some tasks by a specific value in the Text1 column for example. Thus, I would like to extract the resources data, not on the all tasks, but only on filtered tasks.

How is it possible ?
I tried to setup a filter by VBA, but the filter is not take in account. The TimeScaleData retrieved the value of the all tasks and not only of the filtered tasks.

FilterEdit Name:="Filtre 3", TaskFilter:=True, Create:=True, OverwriteExisting:=True, FieldName:="Texte1", Test:="Égal à", Value:="TITI", ShowInMenu:=True, ShowSummaryTasks:=False
FilterApply Name:="Filtre 3"

Can you help me ?
So sorry for bad English.
Thank you.
Emmanuel

Viewing all articles
Browse latest Browse all 5347

Trending Articles