Save PowerPoint VBA Copies in the Presentation Folder
Question details
The user needs a PowerPoint VBA macro to save a presentation copy in the intended folder.

- Product
- Microsoft PowerPoint VBA
- Device & OS
- not provided
- Scenario
- A macro saves a copy of a presentation, either beside the original file or in a specified folder.
- Observed behavior
- The copy may be saved in the current working folder instead of the presentation folder. The macro may also appear to exit slide show mode when saving.
Save the original presentation first if you want to use its folder path, and make sure any destination folder already exists. The path examples below use Windows-style backslashes.
Save a copy beside the original presentation
Use the presentation's Path and Name properties to construct a full destination path.
In PowerPoint, open the presentation and select Developer > Visual Basic. Open the module containing your macro.
Save the presentation through File > Save if it has not been saved yet. ActivePresentation.Path must not be empty for this method.
Replace the relative SaveCopyAs call with: ActivePresentation.SaveCopyAs ActivePresentation.Path & "\COPY" & ActivePresentation.Name
Run the macro from Developer > Macros, then open the original presentation's folder and look for the file whose name starts with COPY.
Save a copy to a specified folder
Use an absolute path when the copy should go to a folder other than the original presentation's folder.
Work with presentation files in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface for opening and editing presentations. Its PowerPoint format compatibility makes it easier to move existing files into WPS; it does not fix PowerPoint VBA behavior.

Frequently Asked Questions
Why did SaveCopyAs save the file in a different folder?
A relative filename can be resolved against PowerPoint's current working folder. Include a full path in the SaveCopyAs argument to specify the destination.
What if ActivePresentation.Path is empty?
The presentation may not have been saved yet. Use File > Save to give it a location before building a copy path from ActivePresentation.Path.
Does SaveCopyAs create the destination folder?
No. Create the folder first in File Explorer or choose an existing folder before running the macro.
Will a full path prevent the slide show from exiting?
A full path controls where the copy is saved, but it does not guarantee slide show behavior. Run the save call separately and inspect the rest of the macro if the issue continues.
Which extension should I use for a copy that contains macros?
Use a macro-enabled format such as .pptm if the copy needs to retain VBA macros. Open the saved copy and verify that the macros are present.




