Saving As Graphics files to SharePoint

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

Guest

Hello

I am currently trying to save PowerPoint slides to SharePoint as graphics
files. However whenever I use the ActivePresentation.SaveAs or
ActivePresentation.Export I get the following error "PowerPoint Can't Save ^0
to ^1"

Any ideas?

If you attempted to this via PowerPoint UI it works.
 
Hello

I am currently trying to save PowerPoint slides to SharePoint as graphics
files. However whenever I use the ActivePresentation.SaveAs or
ActivePresentation.Export I get the following error "PowerPoint Can't Save ^0
to ^1"

Paste in the specific code and enough surround to give it a little context.
We'll go from there.
 
Hello Steve

Thanks for the response. I am curenntly writing a save utility within
PowerPoint XP that saves to SharePoint document librarys using a list of
links provide by the user. I therefore present the user with a custom dialog
and all the file type's to save as. All the native types like ppt are
successful but the graphics types fail on the lines:

Application.DisplayAlerts = ppAlertsAll
ActivePresentation.SaveAs "http://server/personal/hayBen/TestDocs/New.gif",
ppSaveAsGIF

The error returned is "PowerPoint Can't Save ^0 to ^1". I then tried the to
change the code to use the export method with the following code:

ActivePresentation.Export "http://server/personal/hayBen/TestDocs/New.gif",
"gif"

and then

ActivePresentation.Export "http://server/personal/hayBen/TestDocs", "gif"

and then

ActivePresentation.Export "http://server/personal/hayBen/TestDocs/New", "gif"

Recieving the same error for each.

Hope this helps.

Regards

Ben Hay
 
Hi Ben,

A couple of thoughts from a non-SharePoint user:

Have you verified that PPT can save anything but PPT files to SharePoint?
Try doing the save to the url manually (whole presentation, not individual GIFs).
Keep in mind that PPT will try to create a directory to hold the exported files,
then save them to the new directory; if you don't have permissions to create the
directory, that might cause the failure. To get around that, you could loop through
the slides collection, using the .Export method on each slide. That'd also give you
more control over the resolution of the final GIF and over its name. Useful.

I'd also verify that the export filters are in place and working by running the same
code with a local directory as the target for the export.
 

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