Help to connect and open project from Project Server

S

Sergey Petrosyan

Hi, ALL.
I want to use:

Dim pj as Object
Set pj = CreateObject("MSProject.Application")
pj.FileOpen "<>\plan_name.Published" ' open project from Project Server

but I don't know how to connect to Project Server from VBA.
Help me write this code.
Thank, you.
Sergey.
 
J

Jack D.

Sergey said:
Hi, ALL.
I want to use:

Dim pj as Object
Set pj = CreateObject("MSProject.Application")
pj.FileOpen "<>\plan_name.Published" ' open project from Project
Server

but I don't know how to connect to Project Server from VBA.
Help me write this code.
Thank, you.
Sergey.

Try recording a macro and then look at the code. It should give you the
proper syntax.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
S

Sergey Petrosyan

Jack, say, please, how to record macro

where MS Project Proffesional yet not started.

Thank, you.
 
J

Jack D.

Sergey,

Start project then record the macro.
The file open syntax will be the same.

-Jack

Sergey said:
Jack, say, please, how to record macro

where MS Project Proffesional yet not started.

Thank, you.



--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
S

Sergey Petrosyan

Jack,
I want first "TO CONNECT TO PROJECT SERVER".
If I have connect to Project Server, then i can
open project, if not, then
i can't open project from Project Server.
Thank, you.
 

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