Accessing Project 2003 from within scripting

J

jsl

(will be posting this on one of the scripting newsgroups also)

I am writing a tailored archiving script to take all the Project files
in one folder and save them to another folder. That part is easy.

The 2nd half of the deal is that I want to have the script open each of
the Project files, and, if the open file isn't the shared resource
pool, re-link the file to the copied shared resource pool (instead of
the active shared resource pool).

Having had some code that let me do "xyxobj = CreateObject
("Excel.Application")" to open Excel and play around, I tried just
changing the code to reference "Project.Application" but get the
following error message:

"ActiveX Component can't create object 'Project.Application'"

so is it just plain not possible to easily do what I'm trying to do
external to Project? Or am I not using the correct OLE identifier?

Thx in advance...
 

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