filesave vba

J

johnny nui

can anyone help me with the vba code to save a project to the server (not
locally)

I have tried macros but at present I cannot save a macro, it crashes
msProject when I try to edit the macro.
I had previously saved a macro and got this code
FileSaveAs Name:="<>\mactest.Published", UserId:="", DatabasePassWord:="",
FormatID:=""
that was when I was already logged in,
If I want it to save when I am not logged in how would I write this line?
 
E

Earl Lewis

Johnny,

Your request/idea is a little confusing. First you say that you want to save a project to the server and then you ask how you would do this when you're not logged in. Those two things are somewhat contradictory given the way project pro interacts with project server.

What I mean is that when you start project pro (and assuming you're setup to connect to a project server instance) you're asked to connect to the server or not. If you connect to the server your filesaveas will save to the server. If you're not connected to the server it will save as a file.

Are you wanting to do this in offline mode and then upload to the server later?

If you can clarify what you want to do you'll probably get some pretty decent answers.

Earl
can anyone help me with the vba code to save a project to the server (not
locally)

I have tried macros but at present I cannot save a macro, it crashes
msProject when I try to edit the macro.
I had previously saved a macro and got this code
FileSaveAs Name:="<>\mactest.Published", UserId:="", DatabasePassWord:="",
FormatID:=""
that was when I was already logged in,
If I want it to save when I am not logged in how would I write this line?
 

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