From: Jenn on
Hi, I to know how to progammatically change the directory my powerpoint
saves. The macro i'm writing is saving a backup copy in a different folder to
my main slide. Only the VBA changeFileOpenDirectory doesn't work in
powerpoint, what is the correct code for powerpoint please?
From: Steve Rindsberg on
In article <02B65A30-79E3-466D-8CC1-CFC43075DF48(a)microsoft.com>, Jenn wrote:
> Hi, I to know how to progammatically change the directory my powerpoint
> saves. The macro i'm writing is saving a backup copy in a different folder to
> my main slide. Only the VBA changeFileOpenDirectory doesn't work in
> powerpoint, what is the correct code for powerpoint please?

Are you trying to set the directory that PPT will save to when the user presses
Ctrl+S or does a File, Save?

The simplest approach would be for your backup routine to do a SaveCopyAs
instead of a Save.

That way, PPT would continue to act as though nothing had changed, from the
user's point of view.

==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/

PPTools add-ins for PowerPoint
http://www.pptools.com/