automation: saving a ppt to networkfolder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

I'm working on a application that uses vbscript automation to modify a
Presentation, then save the modified copy to a networked folder.

However, I'm not sure how to format the location in the SaveAs command.

In other words, if I were saving a file to a local folder, I'd use this:

oPres.saveAs("C:\Reports\Pres.ppt")

To save to a networked folder, is this correct:

oPres.saveAs("\\someserver\somefolder") ??

Many thanks in advance!

Cheers,
Matt Stuehler
 
To save to a networked folder, is this correct:
oPres.saveAs("\\someserver\somefolder") ??

Close. You want to give it a filename:

oPres.saveAs("\\someserver\somefolder\filename.ppt")

Simplest way to test is to open a presentation in PPT, do File, Save As and
type the test path into the box for the file name. If it works, use the same
string in your application.
 
Back
Top