MS Project automation...

V

Vit

Hi All,

I need to perform an autmation like:

open MS Project

open a File stored in the server

run a macro

close the file

Close MS Project

How can I do that?

thanks all

Cheers

Vit
 
V

Vit

sorry rod, that is my question....

I need to run something like a batch file that perform all that
steps...

the application should:

start MS project (2003)

......




but I don't know how to start....

thanks

cheers

Vit
 
R

Rod Gill

Windows has a Task manager that runs tasks at set times of the week. Use
that to open a specific project file and in it have an autoOpen macro that
runs your macro.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com



sorry rod, that is my question....

I need to run something like a batch file that perform all that
steps...

the application should:

start MS project (2003)

......




but I don't know how to start....

thanks

cheers

Vit
 
V

Vit

Windows has a Task manager that runs tasks at set times of the week. Use
that to open a specific project file and in it have an autoOpen macro that
runs your macro.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:http://www.projectvbabook.com


sorry rod, that is my question....

I need to run something like a batch file that perform all that
steps...

the application should:

start MS project (2003)

.....

but I don't know how to start....

thanks

cheers

Vit






- Show quoted text -

that's ok...

but how can I open a specific Project file stored in the server???
what path do I need to insert???

thanks

Vit
 
R

Rod Gill

For that just record a macro to get the correct format. However, you need to
start project connected to project server so use a startup string like:

"winproj.exe /s http://ServerName/ProjectServer/"

This will start project using windows authentication.
--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com



Windows has a Task manager that runs tasks at set times of the week. Use
that to open a specific project file and in it have an autoOpen macro that
runs your macro.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:http://www.projectvbabook.com


sorry rod, that is my question....

I need to run something like a batch file that perform all that
steps...

the application should:

start MS project (2003)

.....

but I don't know how to start....

thanks

cheers

Vit






- Show quoted text -

that's ok...

but how can I open a specific Project file stored in the server???
what path do I need to insert???

thanks

Vit
 

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