Re: save powerpoint to two locations?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In article <BC9A9C38-2F32-4E0A-8490-8B1B82881748@xxxxxxxxxxxxx>, DrMarsha wrote:
Will this work just like the Word macro??? (by clicking on the separately
created icon for the word it saves to BOTH the original location and the
designed "backup" location?) In other words, do you have to use that new
macro by clicking only once, or do you have to click twice on two different
icons?

In that this one creates no icons, you'd have to manually run the macro or otherwise
figure out how to launch it. But it'll save to the original location and to
another.

Also, do you know if there is also something available for Excel?

No, but it shouldn't be too hard to adapt either this or Graham's Word macro to work
with Excel.



"Steve Rindsberg" wrote:


Something like this should do the job in PPT. It assumes that you've saved the
presentation once to begin with. If that's not a valid assumption, you'd need
more code to test for an unsaved presentation and force the user to save and
give the presentation a name/location.

Hint: if the ActivePresentation's .Name and .Fullname properties are identical,
it hasn't been saved. Once it's saved, the .Fullname will include the entire
path.

Sub SaveTwice()
' Saves the presentation once to its current location and
' once to a "backup" location

Dim sBackupPath As String

' EDIT THIS
' Plug in any backup path you'd like
' Be sure to end the path with a backslash \
' (or colon if adapting this to Mac)
sBackupPath = "C:\TEMP\"

With ActivePresentation
' Save it normally
.Save
' Save a copy to your backup location
Call .SaveCopyAs(sBackupPath & .Name)
End With

End Sub


In article <0C49CE28-00C8-409A-8852-0F837397949A@xxxxxxxxxxxxx>, DrMarsha wrote:
Can you save PowerPoint to locations at the same time using VBA/Macros as you
are able to with word? (http://www.gmayor.com/automatically_backup.htm) I
tried copying and pasting the macros from that website site and get an error
when trying to run it.


-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================





-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


.



Relevant Pages

  • Re: save powerpoint to two locations?
    ... Will this work just like the Word macro??? ... created icon for the word it saves to BOTH the original location and the ... Something like this should do the job in PPT. ... ' once to a "backup" location ...
    (microsoft.public.powerpoint)
  • Re: temporary copy of current word document
    ... The undo would close ... I just want the backup copy as a temp storage. ... the undo macro would read this file and copy it back ... macro you do a 'marker' action (such as defining a bookmark); ...
    (microsoft.public.word.vba.beginners)
  • Re: temporary copy of current word document
    ... Thanks Russ, I will. ... The undo would close ... As long as the first macro is done before the second, ... I just want the backup copy as a temp storage. ...
    (microsoft.public.word.vba.beginners)
  • Re: temporary copy of current word document
    ... The undo would close ... As long as the first macro is done before the second, ... I just want the backup copy as a temp storage. ...
    (microsoft.public.word.vba.beginners)
  • Re: temporary copy of current word document
    ... The undo would close ... without saving and would erase your document. ... As long as the first macro is done before the second, ... I just want the backup copy as a temp storage. ...
    (microsoft.public.word.vba.beginners)