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.
 

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

Back
Top