J
Jason-W
Hi,
I'm trying to Launch MS Project from Excel so it uses the
profile for the Project Server (the PS account is set as
default). The related code is the following:
Dim MSP As Object
Set MSP = CreateObject("MSProject.Application")
MSP.Visible = True
When Project becomes visible, I can tell by looking at the
menus it has not connected to project server, since the
options for opening the resource pool & server projects
are diabled. And by using "?
application.Profiles.ActiveProfile.connectionstate" in
Project's VBA Immediate window, I get a value of 0
returned (indicating no connection to the server).
My question is: How do I get Project to connect to the
server through Excel? I'll need to be able to open a
couple enterprise projects and access the server macros.
Thanks.
--Jason
I'm trying to Launch MS Project from Excel so it uses the
profile for the Project Server (the PS account is set as
default). The related code is the following:
Dim MSP As Object
Set MSP = CreateObject("MSProject.Application")
MSP.Visible = True
When Project becomes visible, I can tell by looking at the
menus it has not connected to project server, since the
options for opening the resource pool & server projects
are diabled. And by using "?
application.Profiles.ActiveProfile.connectionstate" in
Project's VBA Immediate window, I get a value of 0
returned (indicating no connection to the server).
My question is: How do I get Project to connect to the
server through Excel? I'll need to be able to open a
couple enterprise projects and access the server macros.
Thanks.
--Jason