J
jlg
I am an administrator for PS 2003 and have been trying to get 'open to
current day by default' working in Global.mpt.
The very basic code is as follows:
Private Sub Project_Open(ByVal pj As Project)
EditGoTo Date:=Now()
End Sub
1st, I tried to add it to my Global.MPT; I have those 3 basic lines +
a msg line stating 'this is from global mpt'. So then I exited
Project and went back in - I did not receive any msg and it does not
jump to the appropriate current date (I tried opening many plans).
....i.e., I could not get it working.
2ndly, I added the code to a specific Project that I had opened; I
have those 3 basic lines + a msg line stating 'this is from xxx
Project'. So then I exited Project and went back in to the project I
added this code to - I did successfully receive the msg and it does
jump to the appropriate current date.
3rdly, I added it to Enterprise Global; again, I have those 3 basic
lines + a msg line stating 'this is from GET.' So then I exited
Project and went back in - I did receive both messages - the one from
the individual project and the one from GET and it does jump to the
appropriate current date. This occurs for every plan i open.
I go into my Tool / Macros / Visual Basic Editor and look at
ThisProject (Global.MPT)
This Project (Global(+cached Enterprise)).
I see both sets of code + the accurate msg in both.
I just cannot figure out why I cannot get it working in the
Global.MPT. any insights??? The reason why we want it in
Global.MPT is then each PM can decide whether they want this code on
their machine or not....
all insights are greatly appreciated! tx...jlg
current day by default' working in Global.mpt.
The very basic code is as follows:
Private Sub Project_Open(ByVal pj As Project)
EditGoTo Date:=Now()
End Sub
1st, I tried to add it to my Global.MPT; I have those 3 basic lines +
a msg line stating 'this is from global mpt'. So then I exited
Project and went back in - I did not receive any msg and it does not
jump to the appropriate current date (I tried opening many plans).
....i.e., I could not get it working.
2ndly, I added the code to a specific Project that I had opened; I
have those 3 basic lines + a msg line stating 'this is from xxx
Project'. So then I exited Project and went back in to the project I
added this code to - I did successfully receive the msg and it does
jump to the appropriate current date.
3rdly, I added it to Enterprise Global; again, I have those 3 basic
lines + a msg line stating 'this is from GET.' So then I exited
Project and went back in - I did receive both messages - the one from
the individual project and the one from GET and it does jump to the
appropriate current date. This occurs for every plan i open.
I go into my Tool / Macros / Visual Basic Editor and look at
ThisProject (Global.MPT)
This Project (Global(+cached Enterprise)).
I see both sets of code + the accurate msg in both.
I just cannot figure out why I cannot get it working in the
Global.MPT. any insights??? The reason why we want it in
Global.MPT is then each PM can decide whether they want this code on
their machine or not....
all insights are greatly appreciated! tx...jlg