Re: Greeting Message in mpp File



John,

I originally had changed step 4 to ThisProject (my file name). However,
when I close Project and then open this file, I don't receive the message,
even though I can check that the macro is indeed there.

Mark.

"John" wrote:

In article <BB11780B-B0BF-4F63-BFB5-341E554C2EA3@xxxxxxxxxxxxx>,
TKS_Mark <TKSMark@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

John,

Thanks for your reply. I installed the macro as described below. But I
could only get it to work on global.mpt, not on the actual project file. How
to I install it into an actual existing project file?

Thanks,

Mark

Mark,
If you installed it into your Global, it will activate for any project
file that is opened. Nonetheless, if you want to install it in each
individual file, at step 4 (in my previous post), substitute
ThisProject (your file name).

Hope this helps.
John

"John" wrote:

In article <42A8F00C-0B2C-4A2A-9F16-84C82DA8BC84@xxxxxxxxxxxxx>,
TKS_Mark <TKSMark@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

We have to share our shedules regularly with the customer and subs. But
now,
the schedules include manpower w/ rates and material. This information
is
confidential. We have changed the filename to "confidential", but we are
scared that someone will accidentally provide one of our many schedules
to a
customer, sub or competitor without knowing how confidential.

I want to make a greeting message that says something like, "Confidential
Info. Do Not Share this files Outside of our Company!".

Is there a way to make this come up no matter which view was saved last?

TKS_Mark,
You can create a Open Even macro that will provide the warning you
describe. However, unless users have their Project macro security level
set to medium or lower, or unless you go through the process of setting
up a digital certificate, then the Open Even message will never appear.
Therefore your best line of defense is training, training and more
training on company security.

Nonetheless for reference the following Open Even macro will do what you
need. Just follow the steps on each user's PC. If you have an enterprise
Global, it can probably be done using that.
1. Go to Tools/Macro/VB Editor
2. Hit the Project Explorer button on the standard VB Editor toolbar
3. If necessary scroll to the ProjectGlobal (Global.MPT).
4. Double click on the ThisProject (Global.MPT)
5. Insert the following code into the code window
6. Go to File/Save Global.MPT

Private Sub Project_Open(ByVal pj As MSProject.Project)
MsgBox "WARNING - the data you are about to view is company private." &
vbCr & _
"This file and the data it contains shall not be shared with" & vbCr
& _
"anyone outside of [your company name]. This includes all " & vbCr &
_
"customers, suppliers, individuals or corporate entities.",
vbCritical, "SECURITY WARNING"
End Sub

Good luck,
John
Project MVP


.