path from global.mpt

  • Thread starter Michael Freitter
  • Start date
M

Michael Freitter

Hello!

I need a VBA code to read the path from the current global.mpt

Example 1:
C:\Project XY\project-file.mpp
C:\Project XY\global.mpt

=> I start project-file.mpp => the path from global.mpt is "C:\Project XY"

Example 2:
C:\Project AB\project-file.mpp
No other global.mpt is in the directory!

=> I start project-file.mpp => the path von global.mpt is e.g.
"C:\documents\Application Data\Microsoft\MS Project\11\1033"

Thank you and kind regards
Michael
 
Top