Opening a project in project professional

  • Thread starter Fernando A. Gómez F.
  • Start date
F

Fernando A. Gómez F.

Hello all.

Say, I have a project in Project Server. How could I create a method to
display such project in Project Professional (in the client's machine)?

I'm totally clueless about this and don't even know how to Google.

Thanks in advance.

Regards,
Fernando.
 
R

Rod Gill

I'm assuming you mean using VBA as this is a programming news group. In
Project Professional select Tools, Macro, Record new Macro
Select This project in the where to record option then OK
Open a project manually, then
Tools, Macro, Stop Recording

look at the recorded macro for your answer.
--

Rod Gill
Microsoft MVP for Project

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

Fernando A. Gómez F.

Rod said:
I'm assuming you mean using VBA as this is a programming news group. In
Project Professional select Tools, Macro, Record new Macro
Select This project in the where to record option then OK
Open a project manually, then
Tools, Macro, Stop Recording

look at the recorded macro for your answer.

Well, I was thinking on C# (or even a script language such as VBScript)
more than VBA, since I'm trying to open it from outside Project
Professional. My apologies, I should have been clearer).

I did what you suggested though, and copied the result. I tried FileOpen
with the project's name parameter as "<>\MyProject.mpp", as the macro
suggested. Yet it throwed me an error: "Project is unable to open the
selected project. You selected a project saved to Project Server while
you are offline, or you selected an offline project that has been
deleted*. To open projects saved to Project Server, close and then
reopen Project. In the Project server Accounts dialog box, click the
correct account, and then click Connect to establish a connection with
the Project Server".

* I checked and I'm online and the project hasn't been deleted.

I'm stucked here, can't found anything related.

Thanks again.

Regards,
Fernando.
 
R

Rod Gill

HI,

"<>\MyProject.mpp" should work provided Project Pro is online and the
project name exists in the db.

You can open this project manually OK in Project Pro?

--

Rod Gill
Microsoft MVP for Project

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

Fernando A. Gómez F.

Rod said:
HI,

"<>\MyProject.mpp" should work provided Project Pro is online and the
project name exists in the db.

You can open this project manually OK in Project Pro?

Hi again.

Yes, I can. As well, the recorded macro is working as expected.

Thanks again.

Regards,
Fernando.
 

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