J
JimS
I am a veteran Access vba programmer, and I've written some Project vba. I
need a pointer to get started on my current assignment.
I have added a form to a project ("A4BB") which contains predecessors for
tasks in a dozen other projects. I want to link them automatically. The users
in those projects have identified the predecessor by putting a unique "key"
in Text1, which I will match to that same unique "key" in A4BB. The form asks
for a "repository" location, then asks for the user to select the one or more
projects they want processed.
I rifle through a list box in the form with the project names. Once I've got
the project name, I need to open it, find all the incidents of tasks with
Text1 containing a valid "key", then link that task back to its predecessor
task in A4BB.
Strategy? I don't need detailed instructions, just a strategy for
proceeding. I'm using MSP2007 on MSP2003 files. There must be something like
an "open" method, but I can't seem to find it in the project object model. I
can see how you enumerate the projects collection, but how to open an
additional project and then link tasks still eludes me.
Thanks folks!
need a pointer to get started on my current assignment.
I have added a form to a project ("A4BB") which contains predecessors for
tasks in a dozen other projects. I want to link them automatically. The users
in those projects have identified the predecessor by putting a unique "key"
in Text1, which I will match to that same unique "key" in A4BB. The form asks
for a "repository" location, then asks for the user to select the one or more
projects they want processed.
I rifle through a list box in the form with the project names. Once I've got
the project name, I need to open it, find all the incidents of tasks with
Text1 containing a valid "key", then link that task back to its predecessor
task in A4BB.
Strategy? I don't need detailed instructions, just a strategy for
proceeding. I'm using MSP2007 on MSP2003 files. There must be something like
an "open" method, but I can't seem to find it in the project object model. I
can see how you enumerate the projects collection, but how to open an
additional project and then link tasks still eludes me.
Thanks folks!