MSP macro not working in project server

Hi, I have VBA macro applied to MSP 2010 but when I run it while connected to Project Server, it doesn't work but works perfectly well offline. Is there a way I can make this macro work in Project Server 2010?

Thanks in advance!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you want to provide macros with the project server, you may have to place them into the Enterprise Global template) .  MS Project has two sources for templates and macros. If you create a macro, it is either stored in the project file itself, the global.mpt or the enterprise global. If you work offline, the global.mpt is used, if you work online, the enterprise global is used.
Also local macro may not be able to access server properties.

So just connect to project server, open your macro file, open the enterprise global template and move the macro to the checked out enterprise global.

Be aware, that you see the cached enterprise global while you are connected to project server. Opening the enterprise global, you see additional the "checked out enterprise global) where you have to place the macros. The cached global is only a temporary copy and lost, when you close MS projexct.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dr. Thomas HenkelmannDirector Consulting ServicesCommented:

could you please add a few more details WHAT doesn't work? Doesn't it start, do you get errors?


MaxStephenAuthor Commented:
This may have solved my problem. I will take a stab at it and will provide the results.
MaxStephenAuthor Commented:
Hi Bembi & Thausla,

Thanks for taking the time to answer my question. I will take a stab at Bembi's solution and will let you know the results.

Thank you,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Project Management Software

From novice to tech pro — start learning today.