Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help using VBA in MS Project Pro 2007

Status
Not open for further replies.

migv1

Technical User
Apr 23, 2004
39
US
I have written "gatekeeper" code that checks a user's credentials and applies the appropriate filter (and disables command bars) so that users are restricted to viewing and editing only tasks owned by their departments. The code works fine when Project Pro is already running, but I can't seem to make it work so that it checks for credentials before the application opens.

There doesn't seem to be a "before open" option - what is the proper way to run code at Project Pro startup (whether opened standalone or from Project Server 2007)? I'm assuming the code should be stored in Enterprise Global so that it will be applied to all files created or opened online.

Thanks in advance for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top