Hi,
First, to get a feel on how you program VBA in Office (Project, Excel...)
type Alt+F11 and you are in the VB Editor; insert a module and you can write
procedures
A good start is at
prj98vbe.exe at download.microsoft.com
It is for Project 98 but the principles and the great majority of objects
are identical to later versions.
And before you start... in VBA Project you manipulate Project's OBJECTS such
as tasks, resource, assignments, and only rarely selections, rows, columns.
But what you are looking for - making a new view that has essentially
different information from an existing view- is not that easy.
It is NOT JUST A TABLE as you seem to think.
It is about different objects.
Resource Usage displays properties of Resources and Assignments, not of
tasks. So any table you define can only show these properties, and not
things such as the outline parent of the task.
What you need to do is read all assignments, lookup which task they are
about, then copy task properties into assignment fields (such as Text1 or
number7) which you can then display in a table in the resource usage view
But it would still show only one line per assignment8
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/index.htm
32-495-300 620
Deluth said:
Jan,
Would you recommend a book for me to use to program Project using VBA? I
don't know why Resource/Task views can only see Resource/Task Tables,
respectively. After all, they're just tables, right? If it takes learning
how to program Project so that I can mix the two tables in a custom view, I
am willing to do that.