How to read the DefaultProjectsPath within VBA

G

Georg Gehring

Hi,


I'd like to change temporarily the DefaultProjectsPath
with a VBA macro. I only know how to change it with

optionssave(,newpath)

But I have to save the old DefaultProjectsPath in order to
restore it, when the macro finishs. How can I read the
value with VBA?

Thanks,
kind regards,
Georg
 
D

Deepu Chacko

As far as I checked up, I couldnt find a way to read the
DefaultProjectsPath. The PROJ10.adm template contains policy settings that
are common to all of the Microsoft Project 2002 applications. See if u can
get hold of this htm file and do let us know...

Deepu
 
R

Rod Gill

Hi,

Why change Project's default? You can specify a full path in VBA in the
FileSaveAs command. Or, you can use VBA to alter the default folder in
Windows using the chdir command. That will change the folder that is current
when the filesaveas dialog appears.

--
Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top